public function __construct(ServiceLocator $serviceLocator) { $this->extensions = []; $this->serviceLocator = $serviceLocator; }