getPath())) { foreach (new DirectoryIterator($this->getPath()) as $item) { if ($item->isFile()) { $loadableFiles[] = $item->getPathname(); } } if ($loadableFiles) { // @todo process and add the files to the system for usage. } } return $this; } }