Documentation

InvalidArgumentException extends InvalidArgumentException
in package
implements ExceptionInterface

Exception for invalid arguments provided to the instantiator

Interfaces, Classes and Traits

ExceptionInterface
Base exception marker interface for the instantiator component

Table of Contents

fromAbstractClass()  : self
fromNonExistingClass()  : self

Methods

fromAbstractClass()

public static fromAbstractClass(ReflectionClass $reflectionClass) : self
Parameters
$reflectionClass : ReflectionClass
Tags
template

T of object

phpstan-param

ReflectionClass $reflectionClass

Return values
self

fromNonExistingClass()

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

Search results