JamesMoss\Flywheel\Repository::getAllFiles PHP Méthode

getAllFiles() public méthode

Get an array containing the path of all files in this repository
public getAllFiles ( ) : array
Résultat array An array, item is a file
    public function getAllFiles()
    {
        $ext = $this->formatter->getFileExtension();
        $files = glob($this->path . DIRECTORY_SEPARATOR . '*.' . $ext);
        return $files;
    }