new Section()
Section constructor.
new Section(string $type, array $attrs = [ ])
Parameters
| Name | Type | Default |
|---|---|---|
| $type * | string |
– |
| $attrs | array |
[ ] |
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |