Block::model()
Creates an object from model if it has been registered
Block::model(string $name, array $props = []): Block
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
| $props | array<string, mixed> |
[]
|