summaryrefslogtreecommitdiff
path: root/src/Filesystem/CreateDirectory.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Filesystem/CreateDirectory.php')
-rw-r--r--src/Filesystem/CreateDirectory.php22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/Filesystem/CreateDirectory.php b/src/Filesystem/CreateDirectory.php
index 0c45c6c..2af53d7 100644
--- a/src/Filesystem/CreateDirectory.php
+++ b/src/Filesystem/CreateDirectory.php
@@ -4,11 +4,26 @@ namespace App\Filesystem;
use App\Filesystem\Create;
+/**
+ * Class to create a new directory
+ *
+ * @author Phil Burton <phil@d3r.com>
+ */
class CreateDirectory extends Create
{
- protected $filename;
+ /**
+ * Thing we're creating
+ *
+ * @author Phil Burton <phil@d3r.com>
+ */
protected $thing = "directory";
+ /**
+ * Check if the directory already exists
+ *
+ * @param string $filename
+ * @author Phil Burton <phil@d3r.com>
+ */
public function __construct(string $filename)
{
parent::__construct($filename);
@@ -18,6 +33,11 @@ class CreateDirectory extends Create
}
}
+ /**
+ * Create the new directory
+ *
+ * @author Phil Burton <phil@d3r.com>
+ */
public function excecute()
{
echo "execute";