SimpleType
extends Type
Table of Contents
-
$allowsNull
: bool
-
$name
: string
-
$value
: 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
-
value()
: mixed
-
normalize()
: string
$allowsNull
private
bool
$allowsNull
$name
private
string
$name
$value
private
mixed
$value
__construct()
public
__construct(string $name, bool $nullable[, mixed $value = null ]) : mixed
Parameters
-
$name
: string
-
-
$nullable
: bool
-
-
$value
: mixed
= null
-
Return values
mixed
—
allowsNull()
public
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
—
isAssignable()
public
isAssignable(Type $other) : bool
Parameters
-
$other
: Type
-
Return values
bool
—
isCallable()
public
isCallable() : bool
Return values
bool
—
isFalse()
public
isFalse() : bool
Return values
bool
—
isGenericObject()
public
isGenericObject() : bool
Return values
bool
—
isIntersection()
public
isIntersection() : 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
—
name()
public
name() : string
Return values
string
—
value()
public
value() : mixed
Return values
mixed
—
normalize()
private
normalize(string $name) : string
Parameters
-
$name
: string
-
Return values
string
—