$this->events =
$events;
$this->mediaService =
$mediaService;
} /**
* @throws Enlight_Event_Exception
*
* @return GarbageCollector
*/
public function factory() { $mediaPositions =
$this->
getMediaPositions();
return new GarbageCollector($mediaPositions,
$this->connection,
$this->mediaService
);
} /**
* Return default media-positions
*
* @return MediaPosition[]
*/
private function getDefaultMediaPositions() {