# Class Types

types are a set of client side helpers to ease the integration of warnings, exceptions in a application. Unless specified these should merely serialize into a string with __toString

provides:

### Direct known subclasses

`Catapult\Callback`, `Catapult\CallCombo`, `Catapult\PhoneNumber`, `Catapult\Sentence`, `Catapult\SIP`, `Catapult\SIPRealm`, `Catapult\Size`, `Catapult\TextMessage`, `Catapult\Timeout`, `Catapult\Voice`, `Catapult\Date`, `Catapult\DTMF`, `Catapult\FileHandler`, `Catapult\Id`, `Catapult\MediaURL`, `Catapult\Page`, `Catapult\Parameters`, `Catapult\PhoneCombo`

Abstract
Namespace: Catapult
Class: DTMF -- Generate valid DTMF's
Class:

TextMessage -- A valid textmessage in length and only containts printable characters

Class: PhoneNumber -- Valid phone numbers
Class: CallBackURL -- A URL that is encoded with RFC 3896
Class: ID -- a Catapult id where the prefix specified its type
Class: Voice -- A valid voice in Catapult API
Class: SIP -- A valid SIP url
Class: Sentence -- Printable sentence
Class: Size -- Catapult list size constraints
Class: Date -- Catapult Formatted Dates
Class: Parameters -- Generic Parameter Handler
Class: FileHandler -- File Handling
Class: Id -- Catapult IDs. With prefixes
Class: CallCombo -- Call Combos
Class: Timeout -- Catapult Compilant Timeout
Located at types/Base.php

## Methods summary

`public` | # `isValid( )` All Types should supply is Valid this should be able to called staticly or in object form. All Types should supply is Valid this should be able to called staticly or in object form. TODO: Add spport for other areas needing isValid/1