Namespaces

  • 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
  • none

Classes

  • IniAdapter
  • NeonAdapter
  • PhpAdapter
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class PhpAdapter

Reading and generating PHP files.

Nette\Object
Extended by Nette\DI\Config\Adapters\PhpAdapter implements Nette\DI\Config\IAdapter
Namespace: Nette\DI\Config\Adapters
Author: David Grudl
Located at DI/Config/Adapters/PhpAdapter.php
Methods summary
public array
# load( string $file )

Reads configuration from PHP file.

Reads configuration from PHP file.

Parameters

$file
string
file name

Returns

array

Implementation of

Nette\DI\Config\IAdapter::load()
public string
# dump( array $data )

Generates configuration in PHP format.

Generates configuration in PHP format.

Returns

string

Implementation of

Nette\DI\Config\IAdapter::dump()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0