PHP 클래스 eZ\Publish\Core\Base\Exceptions\InvalidArgumentType

Usage: throw new InvalidArgument( 'nodes', 'array' );
상속: extends InvalidArgumentException
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
__construct ( string $argumentName, string $expectedType, mixed | null $value = null, Exception $previous = null ) Generates: "Argument '{$argumentName}' is invalid: expected value to be of type '{$expectedType}'[, got '{$value}']".

메소드 상세

__construct() 공개 메소드

Generates: "Argument '{$argumentName}' is invalid: expected value to be of type '{$expectedType}'[, got '{$value}']".
public __construct ( string $argumentName, string $expectedType, mixed | null $value = null, Exception $previous = null )
$argumentName string
$expectedType string
$value mixed | null Optionally to output the type that was received
$previous Exception