Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

Interfaces

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class ConfigCompilerExtension

Configurator compiling extension.

Object
Extended by ConfigCompilerExtension

Direct known subclasses

ConstantsExtension, NetteExtension, PhpExtension
Abstract
Package: Nette\Config
Author: David Grudl
Located at Config/CompilerExtension.php
Methods summary
public
# setCompiler( ConfigCompiler $compiler, $name )
public array
# getConfig( array $defaults = NULL, boolean $expand = TRUE )

Returns extension configuration.

Returns extension configuration.

Parameters

$defaults
array
default values.
$expand
boolean
perform %parameters% expansion?

Returns

array
public DIContainerBuilder
# getContainerBuilder( )

Returns

DIContainerBuilder
public array
# loadFromFile( string $file )

Reads configuration from file.

Reads configuration from file.

Parameters

$file
string
file name

Returns

array
public string
# prefix( string $id )

Prepend extension name to identifier or service name.

Prepend extension name to identifier or service name.

Parameters

$id
string

Returns

string
public
# loadConfiguration( )

Processes configuration data. Intended to be overridden by descendant.

Processes configuration data. Intended to be overridden by descendant.

public
# beforeCompile( )

Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant.

Adjusts DI container before is compiled to PHP class. Intended to be overridden by descendant.

public
# afterCompile( PhpClassType $class )

Adjusts DI container compiled to PHP class. Intended to be overridden by descendant.

Adjusts DI container compiled to PHP class. Intended to be overridden by descendant.

Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
protected ConfigCompiler $compiler
#
protected string $name
#
Magic properties summary
public read-only array $config
#
public read-only DIContainerBuilder $containerBuilder
#
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0