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

deleteTrashItem() public method

The corresponding content object will be removed
public deleteTrashItem ( eZ\Publish\API\Repository\Values\Content\TrashItem $trashItem )
$trashItem eZ\Publish\API\Repository\Values\Content\TrashItem
    public function deleteTrashItem(APITrashItem $trashItem)
    {
        $response = $this->client->request('DELETE', $trashItem->id, new Message(array('Accept' => $this->outputVisitor->getMediaType('Location'))));
        if (!empty($response->body)) {
            $this->inputDispatcher->parse($response);
        }
    }