registerExtension(new StorageExtension()); } public function getContainerExtension() { if (null === $this->extension) $this->extension = new StorageExtension(); return $this->extension; } }