public static function getAllTypes()
    {
        $list = array(
            self::CB,
            self::VIR,
            self::PRE,
            self::PPL,
            self::CHQ,
        );

        $types = array();
        foreach ($list as $value) {
            $types[$value] = new self($value);
        }

        return $types;
    }
public static function getAllTypes()
    {
        $list = array(
            self::CB,
            self::VIR,
            self::PRE,
            self::PPL,
            self::CHQ,
        );

        $types = array();
        foreach ($list as $value) {
            $types[$value] = new self($value);
        }

        return $types;
    }
public static function getAllTypes ( ) { $ list = array ( self :: CB , self :: VIR , self :: PRE , self :: PPL , self :: CHQ , ) ; $ types = array ( ) ; foreach ( $ list as $ value ) { $ types [ $ value ] = new self ( $ value ) ; } return $ types ; }
Get all types objects.

@return Type[]
Get all types objects .