Class luya\web\jsonld\UrlValue

Inheritanceluya\web\jsonld\UrlValue » luya\web\jsonld\BaseValue
Available since version1.0.3
Source Code https://github.com/luyadev/luya/blob/master/core/web/jsonld/UrlValue.php

Value object for Urls.

See also http://schema.org/URL.

Public Methods

Hide inherited methods

Method Description Defined By
__construct() Provide url data. luya\web\jsonld\UrlValue
getValue() Get the value to assign from BaseValue. luya\web\jsonld\UrlValue

Method Details

Hide inherited methods

__construct() public method

Provide url data.

public void __construct ( $url )
$url string

                public function __construct($url)
{
    $this->_url = $url;
}

            
getValue() public method

Get the value to assign from BaseValue.

public void getValue ( )

                public function getValue()
{
    return $this->_url;
}