Overview

Namespaces

  • chippyash
    • Type
      • Exceptions
      • Interfaces
      • Number
        • Complex
        • Rational
      • String

Interfaces

  • ComplexTypeInterface
  • GMPInterface
  • NumericTypeInterface
  • RationalTypeInterface
  • TypeInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface TypeInterface

Interface for chippyash\Type types

Direct known implementers

chippyash\Type\AbstractType, chippyash\Type\Interfaces\ComplexTypeInterface, chippyash\Type\Interfaces\RationalTypeInterface

Indirect known implementers

chippyash\Type\AbstractMultiValueType, chippyash\Type\BoolType, chippyash\Type\Number\Rational\GMPRationalType, chippyash\Type\Number\Rational\RationalType, chippyash\Type\Number\WholeIntType, chippyash\Type\String\DigitType, chippyash\Type\String\StringType, chippyash\Type\Number\Complex\AbstractComplexType, chippyash\Type\Number\Complex\ComplexType, chippyash\Type\Number\Complex\GMPComplexType, chippyash\Type\Number\FloatType, chippyash\Type\Number\GMPIntType, chippyash\Type\Number\IntType, chippyash\Type\Number\NaturalIntType, chippyash\Type\Number\Rational\AbstractRationalType
Namespace: chippyash\Type\Interfaces
Located at Interfaces/TypeInterface.php
Methods summary
public chippyash\Type\Interfaces\TypeInterface
# set( mixed $value )

Set the object value Forces type

Set the object value Forces type

Parameters

$value

Returns

chippyash\Type\Interfaces\TypeInterface
Fluent Interface
public mixed
# get( )

Get the value of the object as a standard PHP type

Get the value of the object as a standard PHP type

Returns

mixed
mixed
public mixed
# __invoke( )

Magic invoke method Proxy to get()

Magic invoke method Proxy to get()

Returns

mixed
mixed

See

chippyash\Type\Interfaces\TypeInterface::get()
public string
# __toString( )

Magic method - convert to string representation

Magic method - convert to string representation

Returns

string
string
Chippyash Strong Types API documentation generated by ApiGen 2.8.0