PHP Class Sulu\Component\Rest\Exception\MissingArgumentException

Inheritance: extends RestException
Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$argument string The argument of the entity, which was not passed.
$entity string The type of the entity, which was concerned.

Public Methods

Method Description
__construct ( string $entity, string $argument )
getArgument ( ) : string Returns the argument of the entity, which was not passed.
getEntity ( ) : string Returns the type of the entity, which was concerned.

Method Details

__construct() public method

public __construct ( string $entity, string $argument )
$entity string The type of the entity, which was not found
$argument string The argument of the entity, which was not passed

getArgument() public method

Returns the argument of the entity, which was not passed.
public getArgument ( ) : string
return string

getEntity() public method

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

Property Details

$argument protected property

The argument of the entity, which was not passed.
protected string $argument
return string

$entity protected property

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