diff options
Diffstat (limited to 'src/Filesystem/Create.php')
-rw-r--r-- | src/Filesystem/Create.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Filesystem/Create.php b/src/Filesystem/Create.php index a1891db..45b09fd 100644 --- a/src/Filesystem/Create.php +++ b/src/Filesystem/Create.php @@ -2,11 +2,36 @@ namespace App\Filesystem; + +/** + * Base class for creating filesystem things + * + * @author Phil Burton <phil@d3r.com> + */ abstract class Create { + /** + * Filename to create + * + * @var string + * @author Phil Burton <phil@d3r.com> + */ protected $filename; + + /** + * Thing we're creating, used for messages + * + * @var string + * @author Phil Burton <phil@d3r.com> + */ protected $thing; + /** + * Set filename on object and check we can wirte to the Directory + * + * @param string $filename + * @author Phil Burton <phil@d3r.com> + */ public function __construct(string $filename) { $this->filename = $filename; |