Open
Description
Sub-components accessed via hyphen notation are treated as mixed
$this['document']['head'];
$this['document-head'];
$this->getComponent('document')->getComponent('head');
$this->getComponent('document-head');
Current result
1 Dumped type: HeadControl
2 Dumped type: mixed~null
3 Dumped type: HeadControl
4 Dumped type: mixed~null
Expected result:
All should return HeadControl. Or report that this syntax is not supported.
Which variant would you prefer?
Metadata
Metadata
Assignees
Labels
No labels