Exemplo n.º 1
0
 /**
  * Get Content Trash service
  *
  * Trash service allows to perform operations related to location trash
  * (trash/untrash, load/list from trash...)
  *
  * @return \eZ\Publish\API\Repository\TrashService
  */
 public function getTrashService()
 {
     if ($this->trashService !== null) {
         return $this->trashService;
     }
     $this->trashService = new TrashService($this->repository->getTrashService(), $this->signalDispatcher);
     return $this->trashService;
 }