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);
    }