public loadTrashItem ( integer $id ) : eZ\Publish\SPI\Persistence\Content\Location\Trashed | ||
$id | integer | |
return | eZ\Publish\SPI\Persistence\Content\Location\Trashed |
public function loadTrashItem($id)
{
$data = $this->locationGateway->loadTrashByLocation($id);
return $this->locationMapper->createLocationFromRow($data, null, new Trashed());
}