mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
142 - Optional Files and the Null Object Pattern
This commit is contained in:
11
app/NullFile.php
Normal file
11
app/NullFile.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
class NullFile
|
||||
{
|
||||
public function store()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user