PHP Class Sulu\Component\Rest\Exception\EntityNotFoundException

Inheritance: extends RestException
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Protected Properties

Свойство Type Description
$entity string The type of the entity, which was not found.
$id integer The id of the entity, which was not found.

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

Returns the type of the entity, which was not found.
public getEntity ( ) : string
Résultat string

getId() public méthode

Returns the id of the entity, which was not found.
public getId ( ) : integer
Résultat integer

Property Details

$entity protected_oe property

The type of the entity, which was not found.
protected string $entity
Résultat string

$id protected_oe property

The id of the entity, which was not found.
protected int $id
Résultat integer