/**
* @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() { return [ new MediaPosition('s_articles_img', 'media_id'
),