If called with the first parameter, it will be set as the controller $this->_components property
public components ( Cake\Controller\ComponentRegistry | null $components = null ) : Cake\Controller\ComponentRegistry | ||
$components | Cake\Controller\ComponentRegistry | null | Component registry. |
Результат | Cake\Controller\ComponentRegistry |