src/Configurator.php
public function createContainer()
	{
		$loader = new ContainerLoader(
			function ($files) {
				return array_filter($files, function ($file) {
					foreach ($this->ignorePaths as $path) {
						if (Strings::startsWith($file, $path)) {
							return false;
						}
					}
					return true;
				});
			},
			$this->getCacheDirectory() . '/Arachne.Configurator',
			$this->parameters['debugMode']
		);

		$class = $loader->load(
			array($this->parameters, $this->files),
			array($this, 'generateContainer')
		);

		$container = new $class;
		$container->initialize();

		return $container;
	}
public function createContainer()
	{
		$loader = new ContainerLoader(
			function ($files) {
				return array_filter($files, function ($file) {
					foreach ($this->ignorePaths as $path) {
						if (Strings::startsWith($file, $path)) {
							return false;
						}
					}
					return true;
				});
			},
			$this->getCacheDirectory() . '/Arachne.Configurator',
			$this->parameters['debugMode']
		);

		$class = $loader->load(
			array($this->parameters, $this->files),
			array($this, 'generateContainer')
		);

		$container = new $class;
		$container->initialize();

		return $container;
	}
public function createContainer ( ) { $ loader = new ContainerLoader ( function ( $ files ) { return array_filter ( $ files , function ( $ file ) { foreach ( $ this -> ignorePaths as $ path ) { if ( Strings :: startsWith ( $ file , $ path ) ) { return false ; } } return true ; } ) ; } , $ this -> getCacheDirectory ( ) . '/Arachne.Configurator' , $ this -> parameters [ 'debugMode' ] ) ; $ class = $ loader -> load ( array ( $ this -> parameters , $ this -> files ) , array ( $ this , 'generateContainer' ) ) ; $ container = new $ class ; $ container -> initialize ( ) ; return $ container ; }
Returns system DI container.
@return Container
Returns system DI container .