public function getClassesByPath($path)
    {
        $allClasses = [];
        foreach ($this->findAllClasses([$this->rootPath."/$path"], 'php') as $class){
            $allClasses[] = trim($class,"0\\");
        }

        return $allClasses;
    }
public function getClassesByPath($path)
    {
        $allClasses = [];
        foreach ($this->findAllClasses([$this->rootPath."/$path"], 'php') as $class){
            $allClasses[] = trim($class,"0\\");
        }

        return $allClasses;
    }
public function getClassesByPath ( $ path ) { $ allClasses = [ ] ; foreach ( $ this -> findAllClasses ( [ $ this -> rootPath . "/$path" ] , 'php' ) as $ class ) { $ allClasses [ ] = trim ( $ class , "0\\" ) ; } return $ allClasses ; }
Get classes by path

@param $path
@return array
Get classes by path