/** * Gather some variables from the child class */ protected function loadStaticChildClassMembers() { if (is_null(static::$classLoader)) { throw new ThemeDeclarationException('You must specify a class loader in your child theme class'); } Baobab::setObjectRegistry(new ObjectRegistry(static::$classLoader)); }