$this->mediaService =
$mediaService;
} /**
* Start garbage collector job
*
* @return int
*/
public function run() { // Create temp table
$this->
createTempTable();
foreach ($this->mediaPositions
as $mediaPosition) { $this->
find($mediaPosition);
} // Write media refs to used table
$this->
processQueue();
// Change album to recycle bin
$this->
moveToTrash();