public function isCoreFile($file) {

        return true;
        return $file === null || strpos(realpath($file), YII2_PATH . DIRECTORY_SEPARATOR) === 0;
    }
public function isCoreFile($file) {

        return true;
        return $file === null || strpos(realpath($file), YII2_PATH . DIRECTORY_SEPARATOR) === 0;
    }
public function isCoreFile ( $ file ) { return true ; return $ file === null || strpos ( realpath ( $ file ) , YII2_PATH . DIRECTORY_SEPARATOR ) === 0 ; }
Determines whether given name of the file belongs to the framework.
@param string $file name to be checked.
@return bool whether given name of the file belongs to the framework.
Determines whether given name of the file belongs to the framework .