Overview

Namespaces

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

Classes

  • AbstractMultiValueType
  • AbstractType
  • AbstractTypeFactory
  • BoolType
  • TypeFactory
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractMultiValueType

An abstract type that has >1 intrinsic values

chippyash\Type\AbstractType implements chippyash\Type\Interfaces\TypeInterface
Extended by chippyash\Type\AbstractMultiValueType

Direct known subclasses

chippyash\Type\Number\Complex\AbstractComplexType, chippyash\Type\Number\Rational\AbstractRationalType

Indirect known subclasses

chippyash\Type\Number\Complex\ComplexType, chippyash\Type\Number\Complex\GMPComplexType, chippyash\Type\Number\Rational\GMPRationalType, chippyash\Type\Number\Rational\RationalType
Abstract
Namespace: chippyash\Type
Located at AbstractMultiValueType.php
Methods summary
public
# __construct( )

Constructor This is variant parameter constructor. The type and number of arguments are determined by the value map

Constructor This is variant parameter constructor. The type and number of arguments are determined by the value map

Override

Overrides

chippyash\Type\AbstractType::__construct()
public string
# __toString( )

Magic method - convert to string You MUST override this in your child class

Magic method - convert to string You MUST override this in your child class

Returns

string
string

Overrides

chippyash\Type\AbstractType::__toString()
public mixed
# get( )

Get the value of the object typed properly as PHP Native type

Get the value of the object typed properly as PHP Native type

Returns

mixed
mixed

Overrides

chippyash\Type\AbstractType::get()
public chippyash\Type\AbstractType
# set( mixed $value )

This is variant parameter method. The type and number of arguments are determined by the value map

This is variant parameter method. The type and number of arguments are determined by the value map

Parameters

$value
ignored

Returns

chippyash\Type\AbstractType
Fluent Interface

Overrides

chippyash\Type\AbstractType::set()
public
# __clone( )

Magic clone method Ensure value gets cloned when object is cloned

Magic clone method Ensure value gets cloned when object is cloned

public mixed
# __invoke( )

Magic invoke method Proxy to get()

Magic invoke method Proxy to get()

Returns

mixed
mixed

See

chippyash\Type\AbstractMultiValueType::get()

Overrides

chippyash\Type\AbstractType::__invoke()
Chippyash Strong Types API documentation generated by ApiGen 2.8.0