PHP Класс Sulu\Component\Rest\Exception\EntityNotFoundException

Наследование: extends RestException
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$entity string The type of the entity, which was not found.
$id integer The id of the entity, which was not found.

Открытые методы

Метод Описание
__construct ( string $entity, integer $id, $previous = null )
getEntity ( ) : string Returns the type of the entity, which was not found.
getId ( ) : integer Returns the id of the entity, which was not found.

Описание методов

__construct() публичный Метод

public __construct ( string $entity, integer $id, $previous = null )
$entity string The type of the entity, which was not found
$id integer The id of the entity, which was not found

getEntity() публичный Метод

Returns the type of the entity, which was not found.
public getEntity ( ) : string
Результат string

getId() публичный Метод

Returns the id of the entity, which was not found.
public getId ( ) : integer
Результат integer

Описание свойств

$entity защищенное свойство

The type of the entity, which was not found.
protected string $entity
Результат string

$id защищенное свойство

The id of the entity, which was not found.
protected int $id
Результат integer