protected function getStorage() { if ($this->storage === null) { $this->storage = $this->get('sulu_media.storage'); } return $this->storage; }