PHP Class Sulu\Component\Rest\Exception\InvalidHashException

Inheritance: extends RestException
Show file Open project: sulu/sulu

Public Methods

Method Description
__construct ( $entity, $id )
getEntity ( ) : string Returns the entity for which an invalid hash has been passed.
getId ( ) : mixed Returns the id of the entity for which an invalid hash has been passed.

Method Details

__construct() public method

public __construct ( $entity, $id )

getEntity() public method

Returns the entity for which an invalid hash has been passed.
public getEntity ( ) : string
return string

getId() public method

Returns the id of the entity for which an invalid hash has been passed.
public getId ( ) : mixed
return mixed