PHP Class Sulu\Component\Rest\Exception\EntityNotFoundException

Inheritance: extends RestException
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$entity string The type of the entity, which was not found.
$id integer The id of the entity, which was not found.

Public Methods

Method 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 method

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 method

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

getId() public method

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

Property Details

$entity protected_oe property

The type of the entity, which was not found.
protected string $entity
return string

$id protected_oe property

The id of the entity, which was not found.
protected int $id
return integer