protected function getInheritanceFinder(){
        if(!file_exists(storage_path('class_cache'))){
            mkdir(storage_path('class_cache'));
        }

        $config = new \Synga\InheritanceFinder\File\FileConfig();

        $config->setApplicationRoot(base_path());
        $config->setCacheDirectory(storage_path('class_cache'));

        return (new InheritanceFinderFactory())->getInheritanceFinder($config);
    }
protected function getInheritanceFinder(){
        if(!file_exists(storage_path('class_cache'))){
            mkdir(storage_path('class_cache'));
        }

        $config = new \Synga\InheritanceFinder\File\FileConfig();

        $config->setApplicationRoot(base_path());
        $config->setCacheDirectory(storage_path('class_cache'));

        return (new InheritanceFinderFactory())->getInheritanceFinder($config);
    }
protected function getInheritanceFinder ( ) { if ( ! file_exists ( storage_path ( 'class_cache' ) ) ) { mkdir ( storage_path ( 'class_cache' ) ) ; } $ config = new \ Synga \ InheritanceFinder \ File \ FileConfig ( ) ; $ config -> setApplicationRoot ( base_path ( ) ) ; $ config -> setCacheDirectory ( storage_path ( 'class_cache' ) ) ; return ( new InheritanceFinderFactory ( ) ) -> getInheritanceFinder ( $ config ) ; }
Gets an inheritance finder for the Laravel Framework.

@return InheritanceFinder
Gets an inheritance finder for the Laravel Framework .