public final function __construct() { if (method_exists($this, 'onConstruct')) { $this->{'onConstruct'}(); } }