From e802d5204b96d645ec3d40b81b4a8bdc6e0ee675 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 4 Nov 2019 23:31:31 +0100 Subject: refactor: switch to psr-4 autoloading --- app/class/wflywheel/repository.php | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 app/class/wflywheel/repository.php (limited to 'app/class/wflywheel/repository.php') diff --git a/app/class/wflywheel/repository.php b/app/class/wflywheel/repository.php deleted file mode 100644 index baad42e..0000000 --- a/app/class/wflywheel/repository.php +++ /dev/null @@ -1,30 +0,0 @@ -formatter->getFileExtension(); - $files = glob($this->path . DIRECTORY_SEPARATOR . '*.' . $ext); - return $files; - } - - /** - * Get an array containing the id of all files in this repository - * - * @return array An array, item is a id - */ - public function getAllIds() - { - $ext = $this->formatter->getFileExtension(); - return array_map(function($path) use ($ext) { - return $this->getIdFromPath($path, $ext); - }, $this->getAllFiles()); - } -} -- cgit v1.2.3