Cake\Upgrade\Shell\Task\MethodNamesTask::_shouldProcess PHP Метод

_shouldProcess() защищенный Метод

Bail for invalid files (php/ctp files only)
protected _shouldProcess ( string $path ) : boolean
$path string
Результат boolean
    protected function _shouldProcess($path)
    {
        $ending = substr($path, -4);
        return $ending === '.php' || $ending === '.ctp';
    }