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