PHP Class Sulu\Component\Rest\Exception\EntityIdAlreadySetException

Inheritance: extends RestException
Afficher le fichier Open project: sulu/sulu

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 )
getEntity ( ) : string Returns the type of the entity, for which the id was already set.
getId ( ) : integer Returns the id of the entity, for which the id was already set.

Method Details

__construct() public méthode

public __construct ( string $entity, integer $id )
$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, for which the id was already set.
public getEntity ( ) : string
Résultat string

getId() public méthode

Returns the id of the entity, for which the id was already set.
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