eZ\Publish\Core\Persistence\Legacy\Content\Location\Trash\Handler::loadTrashItem PHP Метод

loadTrashItem() публичный Метод

$id is the same as original location (which has been previously trashed).
public loadTrashItem ( integer $id ) : eZ\Publish\SPI\Persistence\Content\Location\Trashed
$id integer
Результат eZ\Publish\SPI\Persistence\Content\Location\Trashed
    public function loadTrashItem($id)
    {
        $data = $this->locationGateway->loadTrashByLocation($id);
        return $this->locationMapper->createLocationFromRow($data, null, new Trashed());
    }