Is called by a component when it is about to be set new parent. Descendant can
override this method to disallow a parent change by throwing an Nette\InvalidStateException
protected validateParent ( Nette\ComponentModel\IContainer $parent ) : void | ||
$parent | Nette\ComponentModel\IContainer | |
return | void |