Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

  • ArrayHash
  • ArrayList
  • Configurator
  • DateTime
  • Framework
  • Image
  • Object
  • ObjectMixin

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidArgumentException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • OutOfRangeException
  • StaticClassException
  • UnexpectedValueException
  • UnknownImageFileException
  • Overview
  • Namespace
  • Class
  • Tree

Class Configurator

Initial system DI container generator.

Nette\Object
Extended by Nette\Configurator
Namespace: Nette
Author: David Grudl
Located at vendor/nette/nette/Nette/common/Configurator.php
Methods summary
public
# __construct( )
public Nette\Configurator
# setDebugMode( boolean|string|array $value = TRUE )

Set parameter %debugMode%.

Set parameter %debugMode%.

Parameters

$value
boolean|string|array

Returns

Nette\Configurator
public boolean
# isDebugMode( )

Returns

boolean
public Nette\Configurator
# setTempDirectory( mixed $path )

Sets path to temporary directory.

Sets path to temporary directory.

Returns

Nette\Configurator
public Nette\Configurator
# addParameters( array $params )

Adds new parameters. The %params% will be expanded.

Adds new parameters. The %params% will be expanded.

Returns

Nette\Configurator
protected array
# getDefaultParameters( )

Returns

array
public
# enableDebugger( string $logDirectory = NULL, string $email = NULL )

Parameters

$logDirectory
string
error log directory
$email
string
administrator email
public Nette\Loaders\RobotLoader
# createRobotLoader( )

Returns

Nette\Loaders\RobotLoader
public Nette\Configurator
# addConfig( mixed $file, mixed $section = NULL )

Adds configuration file.

Adds configuration file.

Returns

Nette\Configurator
public SystemContainer
# createContainer( )

Returns system DI container.

Returns system DI container.

Returns

SystemContainer
protected string
# buildContainer( mixed & $dependencies = NULL )

Build system container class.

Build system container class.

Returns

string
protected Compiler
# createCompiler( )

Returns

Compiler
protected Loader
# createLoader( )

Returns

Loader
protected
# getCacheDirectory( )
public static boolean
# detectDebugMode( string|array $list = NULL )

Detects debug mode by IP address.

Detects debug mode by IP address.

Parameters

$list
string|array
IP addresses or computer names whitelist detection

Returns

boolean
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public array $onCompile
#

of function(Configurator $sender, DI\Compiler $compiler); Occurs after the compiler is created

of function(Configurator $sender, DI\Compiler $compiler); Occurs after the compiler is created

public array $defaultExtensions array( 'php' => 'Nette\DI\Extensions\PhpExtension', 'constants' => 'Nette\DI\Extensions\ConstantsExtension', 'nette' => 'Nette\DI\Extensions\NetteExtension', 'extensions' => 'Nette\DI\Extensions\ExtensionsExtension', )
#
protected array $parameters
#
protected array $files array()
#
Magic properties summary
public boolean $debugMode
#
public write-only mixed $tempDirectory
#
Magic properties inherited from Nette\Object
$reflection
API documentation generated by ApiGen 2.8.0