summaryrefslogtreecommitdiff
path: root/src/Filesystem/CreateFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Filesystem/CreateFile.php')
-rw-r--r--src/Filesystem/CreateFile.php23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/Filesystem/CreateFile.php b/src/Filesystem/CreateFile.php
index f41d4b9..7fed65c 100644
--- a/src/Filesystem/CreateFile.php
+++ b/src/Filesystem/CreateFile.php
@@ -4,11 +4,27 @@ namespace App\Filesystem;
use App\Filesystem\Create;
+/**
+ * Class to create a new file
+ *
+ * @param string $filename [description]
+ * @author Phil Burton <phil@d3r.com>
+ */
class CreateFile extends Create
{
- protected $filename;
+ /**
+ * Thing we're creating
+ *
+ * @author Phil Burton <phil@d3r.com>
+ */
protected $thing = "file";
+ /**
+ * Check if the file already exists
+ *
+ * @param string $filename
+ * @author Phil Burton <phil@d3r.com>
+ */
public function __construct(string $filename)
{
parent::__construct($filename);
@@ -18,6 +34,11 @@ class CreateFile extends Create
}
}
+ /**
+ * Create the new file
+ *
+ * @author Phil Burton <phil@d3r.com>
+ */
public function excecute()
{
echo "execute";