Builder
- Full name: \Zemit\Support\Exposer\Builder
- This class implements: \Zemit\Support\Exposer\BuilderInterface
Properties
value
private mixed $value
parent
private mixed $parent
columns
private ?array $columns
field
private ?string $field
key
private ?string $key
contextKey
private ?string $contextKey
expose
private bool $expose
protected
private bool $protected
Methods
getValue
public getValue(): mixed
setValue
public setValue(mixed $value = null): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $value | mixed | 
getParent
public getParent(): mixed
setParent
public setParent(mixed $parent = null): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $parent | mixed | 
getKey
public getKey(): ?string
setKey
public setKey(?string $key = null): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $key | ?string | 
getContextKey
public getContextKey(): ?string
setContextKey
public setContextKey(?string $contextKey = null): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $contextKey | ?string | 
getField
public getField(): ?string
setField
public setField(?string $field = null): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $field | ?string | 
getColumns
public getColumns(): ?array
setColumns
public setColumns(?array $columns = null): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $columns | ?array | 
getExpose
public getExpose(): bool
setExpose
public setExpose(bool $expose): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $expose | bool | 
getProtected
public getProtected(): bool
setProtected
public setProtected(bool $protected): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $protected | bool | 
getFullKey
public getFullKey(): ?string
processKey
public static processKey(?string $key = null): ?string
- This method is static.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $key | ?string |