file-fetcher
Public Member Functions | List of all members
SebastianBergmann\Type\SimpleType Class Reference
Inheritance diagram for SebastianBergmann\Type\SimpleType:
SebastianBergmann\Type\Type

Public Member Functions

 __construct (string $name, bool $nullable, $value=null)
 
 isAssignable (Type $other)
 
 getReturnTypeDeclaration ()
 
 allowsNull ()
 
 value ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SebastianBergmann\Type\Type
static fromValue ($value, bool $allowsNull)
 
static fromName (string $typeName, bool $allowsNull)
 

Constructor & Destructor Documentation

◆ __construct()

SebastianBergmann\Type\SimpleType::__construct ( string  $name,
bool  $nullable,
  $value = null 
)

Member Function Documentation

◆ allowsNull()

SebastianBergmann\Type\SimpleType::allowsNull ( )

Reimplemented from SebastianBergmann\Type\Type.

◆ getReturnTypeDeclaration()

SebastianBergmann\Type\SimpleType::getReturnTypeDeclaration ( )

Reimplemented from SebastianBergmann\Type\Type.

◆ isAssignable()

SebastianBergmann\Type\SimpleType::isAssignable ( Type  $other)

Reimplemented from SebastianBergmann\Type\Type.

◆ value()

SebastianBergmann\Type\SimpleType::value ( )

The documentation for this class was generated from the following file: