eZ\Publish\Core\REST\Client\TrashService::loadTrashItem PHP Method

loadTrashItem() public method

Note that $id is identical to original location, which has been previously trashed
public loadTrashItem ( mixed $trashItemId ) : eZ\Publish\API\Repository\Values\Content\TrashItem
$trashItemId mixed
return eZ\Publish\API\Repository\Values\Content\TrashItem
    public function loadTrashItem($trashItemId)
    {
        $response = $this->client->request('GET', $trashItemId, new Message(array('Accept' => $this->outputVisitor->getMediaType('Location'))));
        $location = $this->inputDispatcher->parse($response);
        return $this->buildTrashItem($location);
    }