Jared Farrish wrote:
> Hi all,
>
> I am building an assertType object using static functions. What I want to
> keep away from is the following:
>
>
> public static function assertString($para){
>return $answer;
> };
> public static function assertBool($para){
>return $answer;
> };
> ...
Hi,
I also think this a good proposal, but you might consider writing to the
internals group, as this group is only for discussions and most of the
people that read it are PHP users and have no idea how the language is made
(including me).
Regards,
Emil Ivanov
""Jared Farrish"" <[EMAIL PROTECT
Hi all,
Here is more code, with a test case included. What I would prefer to do is
call TypeAssist::$string(), instead of TypeAssist::$a->string(). Or at least
__construct() the $a object.
$method;
}
public static function assertStandardTypes($para) {
$r = TypeAssert::g
3 matches
Mail list logo