142 - Optional Files and the Null Object Pattern

This commit is contained in:
Adam Wathan
2017-09-29 15:24:47 -04:00
parent e18ba35efd
commit 57e1ce97a7
3 changed files with 33 additions and 1 deletions

11
app/NullFile.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
namespace App;
class NullFile
{
public function store()
{
return null;
}
}