eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard\Gateway::loadUrlWildcardData PHP Method

loadUrlWildcardData() abstract public method

Loads an array with data about UrlWildcard with $id.
abstract public loadUrlWildcardData ( mixed $id ) : array
$id mixed
return array
    public abstract function loadUrlWildcardData($id);

Usage Example

 /**
  * 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);
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\UrlWildcard\Gateway::loadUrlWildcardData