Nette\ComponentModel\Container::validateChildComponent PHP Method

validateChildComponent() protected method

Descendant can override this method to disallow insert a child by throwing an Nette\InvalidStateException.
protected validateChildComponent ( Nette\ComponentModel\IComponent $child ) : void
$child Nette\ComponentModel\IComponent
return void
    protected function validateChildComponent(IComponent $child)
    {
    }