PHP Class Contao\CoreBundle\Test\LanguageHelper

Inheritance: implements ArrayAccess
Afficher le fichier Open project: contao/core-bundle

Protected Properties

Свойство Type Description
$stack array

Méthodes publiques

Méthode 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 méthode

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

__get() public méthode

Returns the current language helper.
public __get ( string $key ) : LanguageHelper
$key string
Résultat LanguageHelper

__toString() public méthode

Returns the combined stack as string.
public __toString ( ) : string
Résultat string

offsetExists() public méthode

Returns true.
public offsetExists ( mixed $offset ) : boolean
$offset mixed
Résultat boolean

offsetGet() public méthode

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

offsetSet() public méthode

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

offsetUnset() public méthode

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

Property Details

$stack protected_oe property

protected array $stack
Résultat array