getClasses() public méthode

public getClasses ( ) : ClassType[]
Résultat ClassType[]
Exemple #1
0
 private function writeGeneratedCode(Code\PhpFile $file, Code\PhpNamespace $namespace)
 {
     $builder = $this->getContainerBuilder();
     if (!is_dir($tempDir = $builder->expand('%tempDir%/cache/_Kdyby.Aop'))) {
         mkdir($tempDir, 0777, TRUE);
     }
     $key = md5(serialize($builder->parameters) . serialize(array_keys($namespace->getClasses())));
     file_put_contents($cached = $tempDir . '/' . $key . '.php', (string) $file);
     return $cached;
 }