Documentation

InvalidArgumentException extends InvalidArgumentException
in package
implements ExceptionInterface

Exception for invalid arguments provided to the instantiator

Table of Contents

Interfaces

ExceptionInterface
Base exception marker interface for the instantiator component

Methods

fromAbstractClass()  : self
fromEnum()  : self
fromNonExistingClass()  : self

Methods

fromAbstractClass()

public static fromAbstractClass(ReflectionClass $reflectionClass) : self
Parameters
$reflectionClass : ReflectionClass
Tags
phpstan-param

ReflectionClass<T> $reflectionClass

template

T of object

Return values
self

fromEnum()

public static fromEnum(string $className) : self
Parameters
$className : string
Return values
self

fromNonExistingClass()

public static fromNonExistingClass(string $className) : self
Parameters
$className : string
Return values
self

        
On this page

Search results