yii\web\ErrorHandler::isCoreFile PHP 메소드

isCoreFile() 공개 메소드

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