Hi all,
What's the best practice of internal function and method data type
validation, both parameter and return types?
Although it seems it is possible to retrieve parameter/return types,
there is no APIs defined in Zend according to ext/reflection or I must
have missed something.
Thank you.
--
Yasuo Ohgaki
yohgaki@ohgaki.net
What's the best practice of internal function and method data type
validation, both parameter and return types?
Sorry, question is confusing.
I'm trying to validate data types of callbacks which could be both
user defined and internal function/method. What's the best way with
master?
Thank you.
--
Yasuo Ohgaki
yohgaki@ohgaki.net
What's the best practice of internal function and method data type
validation, both parameter and return types?Although it seems it is possible to retrieve parameter/return types,
there is no APIs defined in Zend according to ext/reflection or I must
have missed something.Thank you.
It seems there isn't clean and easy way to introspect and validate
parameters and return type currently.
I'll forget about validating to be registered callback
functions/methods parameter and return type for the time being.
If you have suggestions, I appreciate it.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net