protected function getFilesFromFolder($folderPath)
    {
        return FileHelper::findFiles($folderPath, [
            'recursive' => false,
            'caseSensitive' => false,
            'only' => ['*.php'],
            'filter' => function ($path) {
                return in_array(substr(basename($path), 0, 1), $this->ignorePrefix) ? false : null;
            }]);
    }
protected function getFilesFromFolder($folderPath)
    {
        return FileHelper::findFiles($folderPath, [
            'recursive' => false,
            'caseSensitive' => false,
            'only' => ['*.php'],
            'filter' => function ($path) {
                return in_array(substr(basename($path), 0, 1), $this->ignorePrefix) ? false : null;
            }]);
    }
protected function getFilesFromFolder ( $ folderPath ) { return FileHelper :: findFiles ( $ folderPath , [ 'recursive' => false , 'caseSensitive' => false , 'only' => [ '*.php' ] , 'filter' => function ( $ path ) { return in_array ( substr ( basename ( $ path ) , 0 , 1 ) , $ this -> ignorePrefix ) ? false : null ; } ] ) ; }
Get files from a given folder.

@param string $folderPath
@return array
Get files from a given folder .