Class

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

class Resource extends Value

This class represents a resource.

Properties

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

Methods

__construct($name $name, $mediaType $mediaType, $href $href)

Resource constructor.

Details

at line 45
public __construct($name $name, $mediaType $mediaType, $href $href)

Resource constructor.

Parameters

$name $name
$mediaType $mediaType
$href $href