GSB_AppliMVC

SimpleType extends Type
in package

Table of Contents

$allowsNull  : bool
$name  : string
$value  : mixed
__construct()  : mixed
allowsNull()  : bool
asString()  : string
fromName()  : self
fromValue()  : self
getReturnTypeDeclaration()  : string
isAssignable()  : bool
name()  : string
value()  : mixed
normalize()  : string

Properties

Methods

__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

getReturnTypeDeclaration()

public getReturnTypeDeclaration() : string
Tags
deprecated
codeCoverageIgnore
Return values
string

isAssignable()

public isAssignable(Type $other) : bool
Parameters
$other : Type
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

Search results