Class luya\web\jsonld\UrlValue
Inheritance | luya\web\jsonld\UrlValue » luya\web\jsonld\BaseValue |
---|---|
Available since version | 1.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
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
Provide url data.
public void __construct ( $url ) | ||
$url | string |
public function __construct($url)
{
$this->_url = $url;
}
Get the value to assign from BaseValue.
public void getValue ( ) |
public function getValue()
{
return $this->_url;
}