summaryrefslogtreecommitdiff
path: root/src/Filesystem/Create.php
diff options
context:
space:
mode:
authorPhil Burton <phil@d3r.com>2017-08-21 18:58:05 +0100
committerPhil Burton <phil@d3r.com>2017-08-21 18:58:05 +0100
commit31ac8bccdae86eeb150cb396c44ee88427120e3e (patch)
tree29526c559aab90170b036a1801a17785c2a9479c /src/Filesystem/Create.php
parent0ed82a2c6ffd8e981d9dd388306379941ecb5720 (diff)
wip
Diffstat (limited to 'src/Filesystem/Create.php')
-rw-r--r--src/Filesystem/Create.php25
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;