PHP 클래스 ManaPHP\I18n\Translation

상속: extends ManaPHP\Component, implements ManaPHP\I18n\TranslationInterface
파일 보기 프로젝트 열기: manaphp/manaphp

보호된 프로퍼티들

프로퍼티 타입 설명
$_files array
$_language string
$_messages array

공개 메소드들

메소드 설명
__construct ( array $options = [] ) Translation constructor.
translate ( string $messageId, array $bind = [] ) : string

메소드 상세

__construct() 공개 메소드

Translation constructor.
public __construct ( array $options = [] )
$options array

translate() 공개 메소드

public translate ( string $messageId, array $bind = [] ) : string
$messageId string
$bind array
리턴 string

프로퍼티 상세

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

protected array $_files
리턴 array

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

protected string $_language
리턴 string

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

protected array $_messages
리턴 array