loadFromFile() public method

Reads configuration from file.
public loadFromFile ( $file ) : array
return array
Ejemplo n.º 1
0
 /**
  * @param string $configFile
  * @param Nette\DI\CompilerExtension $extension
  * @return AspectsConfig
  */
 public static function loadAspects($configFile, Nette\DI\CompilerExtension $extension)
 {
     return new AspectsConfig($extension->loadFromFile($configFile), $extension);
 }