Type
Table of Contents
-
allowsNull()
: bool
-
asString()
: string
-
fromName()
: self
-
fromValue()
: self
-
getReturnTypeDeclaration()
: string
-
isAssignable()
: bool
-
name()
: string
allowsNull()
public
abstract allowsNull() : bool
Return values
bool
—
asString()
public
asString() : string
Return values
string
—
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
—
getReturnTypeDeclaration()
public
getReturnTypeDeclaration() : string
-
deprecated
-
-
codeCoverageIgnore
-
Return values
string
—
isAssignable()
public
abstract isAssignable(Type $other) : bool
Parameters
-
$other
: Type
-
Return values
bool
—
name()
public
abstract name() : string
Return values
string
—