Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | Public Attributes | List of all members
eZ\Publish\Core\REST\Common\Values\Resource Class Reference

This class represents a resource. More...

Inheritance diagram for eZ\Publish\Core\REST\Common\Values\Resource:

## Public Member Functions
| __construct ($name, $mediaType, $href)
| Resource constructor. More...

## Public Attributes
| $name
| $mediaType
| $href

## Detailed Description

This class represents a resource.

Definition at line 14 of file Resource.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZ\Publish\Core\REST\Common\Values\Resource::__construct | ( |  | $name,
|  |  | $mediaType,
|  |  | $href
| ) |  |

Resource constructor.

Parameters

  $name |
  $mediaType |
  $href |

Definition at line 44 of file Resource.php.

References eZ\Publish\Core\REST\Common\Values\Resource\$href, eZ\Publish\Core\REST\Common\Values\Resource\$mediaType, and eZ\Publish\Core\REST\Common\Values\Resource\$name.

## Member Data Documentation

## ◆ $href

eZ\Publish\Core\REST\Common\Values\Resource::$href

Definition at line 35 of file Resource.php.

Referenced by eZ\Publish\Core\REST\Common\Values\Resource\__construct().

## ◆ $mediaType

eZ\Publish\Core\REST\Common\Values\Resource::$mediaType

Definition at line 28 of file Resource.php.

Referenced by eZ\Publish\Core\REST\Common\Values\Resource\__construct().

## ◆ $name

eZ\Publish\Core\REST\Common\Values\Resource::$name

Definition at line 21 of file Resource.php.

Referenced by eZ\Publish\Core\REST\Common\Values\Resource\__construct().

The documentation for this class was generated from the following file:

- Resource.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.