Documentation

IntersectionType extends Type
in package

Table of Contents

$types  : mixed
__construct()  : mixed
allowsNull()  : bool
asString()  : string
fromName()  : self
fromValue()  : self
isAssignable()  : bool
isCallable()  : bool
isFalse()  : bool
isGenericObject()  : bool
isIntersection()  : bool
isIterable()  : bool
isMixed()  : bool
isNever()  : bool
isNull()  : bool
isObject()  : bool
isSimple()  : bool
isStatic()  : bool
isUnion()  : bool
isUnknown()  : bool
isVoid()  : bool
name()  : string
ensureMinimumOfTwoTypes()  : void
ensureNoDuplicateTypes()  : void
ensureOnlyValidTypes()  : void

Properties

Methods

fromName()

public static fromName(string $typeName, bool $allowsNull) : self
Parameters
$typeName : string
$allowsNull : bool
Return values
self —

fromValue()

public static fromValue(mixed $value, bool $allowsNull) : self
Parameters
$value : mixed
$allowsNull : bool
Return values
self —

isCallable()

public isCallable() : bool
Return values
bool —

isFalse()

public isFalse() : bool
Return values
bool —

isGenericObject()

public isGenericObject() : bool
Return values
bool —

isIterable()

public isIterable() : bool
Return values
bool —

isMixed()

public isMixed() : bool
Return values
bool —

isNever()

public isNever() : bool
Return values
bool —

isNull()

public isNull() : bool
Return values
bool —

isObject()

public isObject() : bool
Return values
bool —

isSimple()

public isSimple() : bool
Return values
bool —

isStatic()

public isStatic() : bool
Return values
bool —

isUnion()

public isUnion() : bool
Return values
bool —

isUnknown()

public isUnknown() : bool
Return values
bool —

isVoid()

public isVoid() : bool
Return values
bool —

Search results