Extracts UrlWildcard object from given database $row.
public extractUrlWildcardFromRow ( array $row ) : eZ\Publish\SPI\Persistence\Content\UrlWildcard | ||
$row | array | |
리턴 | eZ\Publish\SPI\Persistence\Content\UrlWildcard |
/** * Loads a url wild card * * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if the url wild card was not found * * @param mixed $id * * @return \eZ\Publish\SPI\Persistence\Content\UrlWildcard */ public function load($id) { $row = $this->gateway->loadUrlWildcardData($id); if (empty($row)) { throw new NotFoundException("UrlWildcard", $id); } return $this->mapper->extractUrlWildcardFromRow($row); }