PHP Class Contao\CoreBundle\Test\LanguageHelper

Inheritance: implements ArrayAccess
Datei anzeigen Open project: contao/core-bundle

Protected Properties

Property Type Description
$stack array

Public Methods

Method Description
__construct ( array $stack = [] ) Constructor.
__get ( string $key ) : LanguageHelper Returns the current language helper.
__toString ( ) : string Returns the combined stack as string.
offsetExists ( mixed $offset ) : boolean Returns true.
offsetGet ( mixed $offset ) : LanguageHelper Creates a sub object with the given name.
offsetSet ( mixed $offset, mixed $value ) Throws an exception.
offsetUnset ( mixed $offset ) Throws an exception.

Method Details

__construct() public method

Constructor.
public __construct ( array $stack = [] )
$stack array

__get() public method

Returns the current language helper.
public __get ( string $key ) : LanguageHelper
$key string
return LanguageHelper

__toString() public method

Returns the combined stack as string.
public __toString ( ) : string
return string

offsetExists() public method

Returns true.
public offsetExists ( mixed $offset ) : boolean
$offset mixed
return boolean

offsetGet() public method

Creates a sub object with the given name.
public offsetGet ( mixed $offset ) : LanguageHelper
$offset mixed
return LanguageHelper

offsetSet() public method

Throws an exception.
public offsetSet ( mixed $offset, mixed $value )
$offset mixed
$value mixed

offsetUnset() public method

Throws an exception.
public offsetUnset ( mixed $offset )
$offset mixed

Property Details

$stack protected_oe property

protected array $stack
return array