[PEPr] Comment on PHP::PHP_Callback
| From: | Alexey Borzov | Date: | Thu, 03 May 2007 17:18:35 +0000 |
| Subject: | [PEPr] Comment on PHP::PHP_Callback | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46589@lists.php.net to get a copy of this message | ||
Alexey Borzov (http://pear.php.net/user/avb) has commented on the proposal for PHP::PHP_Callback.
Comment:
Exactly, we need to get *useful* packages in. This, among other things,
means leaving useless packages out. Look at Zend Framework's discussions on
proposed packages.
The *only* thing the package does is removing the need to do the following
check
if (!is_callable($callback)) {
throw new Foo_Package_Exception('Not a valid callback');
}
I don't see any features needed since I don't see the need for a callback
object in the first place.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=482
--
Sent by PEPr, the automatic proposal system at http://pear.php.net