eZ\Publish\Core\REST\Client\Repository::getTrashService PHP Method

getTrashService() public method

Trash service allows to perform operations related to location trash (trash/untrash, load/list from trash...)
public getTrashService ( ) : eZ\Publish\API\Repository\TrashService
return eZ\Publish\API\Repository\TrashService
    public function getTrashService()
    {
        if (null === $this->trashService) {
            $this->trashService = new TrashService($this->getLocationService(), $this->client, $this->inputDispatcher, $this->outputVisitor, $this->requestParser);
        }
        return $this->trashService;
    }