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/CreateDirectory.php | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'src/Filesystem/CreateDirectory.php') 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 + */ class CreateDirectory extends Create { - protected $filename; + /** + * Thing we're creating + * + * @author Phil Burton + */ protected $thing = "directory"; + /** + * Check if the directory already exists + * + * @param string $filename + * @author Phil Burton + */ public function __construct(string $filename) { parent::__construct($filename); @@ -18,6 +33,11 @@ class CreateDirectory extends Create } } + /** + * Create the new directory + * + * @author Phil Burton + */ public function excecute() { echo "execute"; -- cgit v1.2.3