PHP Class eZ\Publish\Core\REST\Common\Values\Resource

Inheritance: extends eZ\Publish\Core\REST\Common\Value
Show file Open project: ezsystems/ezpublish-kernel

Public Properties

Property Type Description
$href string href of the resource.
$mediaType string Media Type of the resource.
$name string Resource name.

Public Methods

Method Description
__construct ( $name, $mediaType, $href ) Resource constructor.

Method Details

__construct() public method

Resource constructor.
public __construct ( $name, $mediaType, $href )
$name
$mediaType
$href

Property Details

$href public property

href of the resource.
public string $href
return string

$mediaType public property

Media Type of the resource.
public string $mediaType
return string

$name public property

Resource name.
public string $name
return string