Library/Compiler.php
private function reslovePrototypesPath()
    {
        $prototypesPath = $this->prototypesPath;

        // fallback
        if (empty($prototypesPath)) {
            $prototypesPath = \dirname(__DIR__).'/prototypes';
        }

        if (!is_dir($prototypesPath) || !is_readable($prototypesPath)) {
            throw new IllegalStateException('Unable to resolve internal prototypes directory.');
        }

        return $prototypesPath;
    }
private function reslovePrototypesPath()
    {
        $prototypesPath = $this->prototypesPath;

        // fallback
        if (empty($prototypesPath)) {
            $prototypesPath = \dirname(__DIR__).'/prototypes';
        }

        if (!is_dir($prototypesPath) || !is_readable($prototypesPath)) {
            throw new IllegalStateException('Unable to resolve internal prototypes directory.');
        }

        return $prototypesPath;
    }
private function reslovePrototypesPath ( ) { $ prototypesPath = $ this -> prototypesPath ; // fallback if ( empty ( $ prototypesPath ) ) { $ prototypesPath = \ dirname ( __DIR__ ) . '/prototypes' ; } if ( ! is_dir ( $ prototypesPath ) || ! is_readable ( $ prototypesPath ) ) { throw new IllegalStateException ( 'Unable to resolve internal prototypes directory.' ) ; } return $ prototypesPath ; }
Resolves path to the internal prototypes.

@return string

@throws IllegalStateException in case of absence internal prototypes directory
Resolves path to the internal prototypes .