Block::extendModels()
Adds new models to the registry
Block::extendModels(array $models): array
Parameters
| Name | Type | Default |
|---|---|---|
| $modelsrequired | array<string, class-string> |
no default value |
Return type
array<string, class-string>
Adds new models to the registry
Block::extendModels(array $models): array
| Name | Type | Default |
|---|---|---|
| $modelsrequired | array<string, class-string> |
no default value |
array<string, class-string>