Node::polyfill()
Optional method that runs before static::factory sends its properties to the instance. This is perfect to clean up props or keep deprecated props compatible.
Node::polyfill(array $props): array
Parameters
Name | Type | Default |
---|---|---|
$props * | array |
– |
Return type
array