Re: Re: PHP Standards and Best Practices for PHP 5.3+ Frameworks and Libraries
| From: | Brett Bieber | Date: | Tue, 26 May 2009 20:17:03 +0000 |
| Subject: | Re: Re: PHP Standards and Best Practices for PHP 5.3+ Frameworks and Libraries | ||
| References: | 1 | Groups: | php.standards |
| Request: | Send a blank email to standards-+get-4@lists.php.net to get a copy of this message | ||
On Tue, May 26, 2009 at 3:09 PM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
>> File - vendor/packagename/UnexpectedValueException.php
>> <?php
>> namespace vendor\packagename;
>> class UnexpectedValueException extends UnexpectedValueException
>> implements Exception {}
>
> I don't even know what this does it is so confusing :) are you sure
> the example doesn't contain typos?
Yep! That should be:
class UnexpectedValueException extends \UnexpectedValueException
--
Brett Bieber