public function loadTrashItem($trashItemId)
    {
        return new Values\RestTrashItem(
            $trashItem = $this->trashService->loadTrashItem($trashItemId),
            $this->locationService->getLocationChildCount($trashItem)
        );
    }
public function loadTrashItem($trashItemId)
    {
        return new Values\RestTrashItem(
            $trashItem = $this->trashService->loadTrashItem($trashItemId),
            $this->locationService->getLocationChildCount($trashItem)
        );
    }
public function loadTrashItem ( $ trashItemId ) { return new Values \ RestTrashItem ( $ trashItem = $ this -> trashService -> loadTrashItem ( $ trashItemId ) , $ this -> locationService -> getLocationChildCount ( $ trashItem ) ) ; }
Returns the trash item given by id.

@param $trashItemId

@return \eZ\Publish\Core\REST\Server\Values\RestTrashItem
Returns the trash item given by id .