From 31ac8bccdae86eeb150cb396c44ee88427120e3e Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Mon, 21 Aug 2017 18:58:05 +0100 Subject: wip --- src/Filesystem/Create.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/Filesystem/Create.php') 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 + */ abstract class Create { + /** + * Filename to create + * + * @var string + * @author Phil Burton + */ protected $filename; + + /** + * Thing we're creating, used for messages + * + * @var string + * @author Phil Burton + */ protected $thing; + /** + * Set filename on object and check we can wirte to the Directory + * + * @param string $filename + * @author Phil Burton + */ public function __construct(string $filename) { $this->filename = $filename; -- cgit v1.2.3