PHP Класс Nelmio\Alice\Throwable\Exception\Generator\Hydrator\HydrationExceptionFactory

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

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

Метод Описание
create ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous ) : HydrationException
createForCouldNotHydrateObjectWithProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : NoSuchPropertyException
createForInaccessibleProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InaccessiblePropertyException
createForInvalidProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InvalidArgumentException

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

create() публичный статический Метод

public static create ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous ) : HydrationException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
Результат HydrationException

createForCouldNotHydrateObjectWithProperty() публичный статический Метод

public static createForCouldNotHydrateObjectWithProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : NoSuchPropertyException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
Результат NoSuchPropertyException

createForInaccessibleProperty() публичный статический Метод

public static createForInaccessibleProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InaccessiblePropertyException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
Результат InaccessiblePropertyException

createForInvalidProperty() публичный статический Метод

public static createForInvalidProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InvalidArgumentException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
Результат InvalidArgumentException