public function createUrlWildcard($sourceUrl, $destinationUrl, $forward)
    {
        $urlWildcard = new UrlWildcard();

        $urlWildcard->destinationUrl = $this->cleanUrl($destinationUrl);
        $urlWildcard->sourceUrl = $this->cleanUrl($sourceUrl);
        $urlWildcard->forward = $forward;

        return $urlWildcard;
    }
public function createUrlWildcard($sourceUrl, $destinationUrl, $forward)
    {
        $urlWildcard = new UrlWildcard();

        $urlWildcard->destinationUrl = $this->cleanUrl($destinationUrl);
        $urlWildcard->sourceUrl = $this->cleanUrl($sourceUrl);
        $urlWildcard->forward = $forward;

        return $urlWildcard;
    }
public function createUrlWildcard ( $ sourceUrl , $ destinationUrl , $ forward ) { $ urlWildcard = new UrlWildcard ( ) ; $ urlWildcard -> destinationUrl = $ this -> cleanUrl ( $ destinationUrl ) ; $ urlWildcard -> sourceUrl = $ this -> cleanUrl ( $ sourceUrl ) ; $ urlWildcard -> forward = $ forward ; return $ urlWildcard ; }
Creates a UrlWildcard object from given parameters.

@param string $sourceUrl
@param string $destinationUrl
@param bool $forward

@return \eZ\Publish\SPI\Persistence\Content\UrlWildcard
Creates a UrlWildcard object from given parameters .