PHP Класс Sulu\Component\Rest\Exception\InvalidArgumentException

Наследование: extends RestException
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$argument string The argument of the entity, which was not passed.
$entity string The type of the entity, which was concerned.

Открытые методы

Метод Описание
__construct ( string $entity, string $argument, null $customMessage = null )
getArgument ( ) : string Returns the type of the entity, which was concerned.
getEntity ( ) : string Returns the argument of the entity, which was not passed.

Описание методов

__construct() публичный Метод

public __construct ( string $entity, string $argument, null $customMessage = null )
$entity string The type of the entity
$argument string The argument of the entity, which was invalid
$customMessage null

getArgument() публичный Метод

Returns the type of the entity, which was concerned.
public getArgument ( ) : string
Результат string

getEntity() публичный Метод

Returns the argument of the entity, which was not passed.
public getEntity ( ) : string
Результат string

Описание свойств

$argument защищенное свойство

The argument of the entity, which was not passed.
protected string $argument
Результат string

$entity защищенное свойство

The type of the entity, which was concerned.
protected string $entity
Результат string