PHP 클래스 Contao\CoreBundle\Test\LanguageHelper

상속: implements ArrayAccess
파일 보기 프로젝트 열기: contao/core-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$stack array

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

__get() 공개 메소드

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

__toString() 공개 메소드

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

offsetExists() 공개 메소드

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

offsetGet() 공개 메소드

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

offsetSet() 공개 메소드

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

offsetUnset() 공개 메소드

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

프로퍼티 상세

$stack 보호되어 있는 프로퍼티

protected array $stack
리턴 array