TypeMapping

Purpose

These are utilities for converting a variable's type (it's PHP type, or the type of object) to a method name, using a dispatch table.

Available Interfaces

Interface Description
TypeMapper interface for all type mappers to implement

Click on the name of an interface to see full details.

Available Classes

Class Description
MapDuckTypeToMethodName map a variable to a method, using the variable's duck types
MapStrictTypeToMethodName map a variable to a method, using the variable's strict types

Click on the name of a class to see full details.