protected function shouldBeExecutable($filename)
    {
        foreach ($this->config->getExecutableFiles() as $exFile) {
            if ($filename === $exFile) {
                return true;
            }
        }
        return false;
    }
protected function shouldBeExecutable($filename)
    {
        foreach ($this->config->getExecutableFiles() as $exFile) {
            if ($filename === $exFile) {
                return true;
            }
        }
        return false;
    }
protected function shouldBeExecutable ( $ filename ) { foreach ( $ this -> config -> getExecutableFiles ( ) as $ exFile ) { if ( $ filename === $ exFile ) { return true ; } } return false ; }
Check whether the given file should be executable.

@param string $filename The filename to check.

@return boolean
Check whether the given file should be executable .