Kahlan\Jit\Interceptor::findFile PHP Метод

findFile() публичный Метод

Finds the path to the file where the class is defined.
public findFile ( string $class ) : string | false
$class string The name of the class
Результат string | false The path if found, false otherwise
    public function findFile($class)
    {
        $findFile = $this->_findFile;
        $file = static::originalInstance()->{$findFile}($class);
        if ($file !== false) {
            $file = realpath($file);
        }
        return $this->_patchers->findFile($this, $class, $file);
    }