Fully Qualified Name: | Laminas\I18n\Translator\Plural\Symbol |
Parser symbol.
All properties in the symbol are defined as public for easier and faster access from the applied closures. An exception are the closure properties themselves, as they have to be accessed via the appropriate getter and setter methods.
Name | Description | Defined By |
---|---|---|
__construct() | Create a new symbol. | Symbol |
getLeftDenotation() | Get left denotation. | Symbol |
getNullDenotation() | Get null denotation. | Symbol |
setLeftDenotationGetter() | Set the left denotation getter. | Symbol |
setNullDenotationGetter() | Set the null denotation getter. | Symbol |
Create a new symbol.
Parameter Name | Type | Description |
---|---|---|
$parser | \Parser | |
$id | string | |
$leftBindingPower | int |
Returns:
Get left denotation.
Parameter Name | Type | Description |
---|---|---|
$left | \Symbol |
Returns: \Symbol
Get null denotation.
Returns: \Symbol
Set the left denotation getter.
Parameter Name | Type | Description |
---|---|---|
$getter | \Closure |
Returns: $this
Set the null denotation getter.
Parameter Name | Type | Description |
---|---|---|
$getter | \Closure |
Returns: $this