Re: possible namespace bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 20, 2011 at 5:27 PM, David Harkness wrote:
> On Thu, Jan 20, 2011 at 4:26 PM, Tommy Pham wrote:
>>
>> Anyway, I found the problem: Â\N Â in
>> use org\puremvc\php\patterns\observer\Notifier;
>
> AFAIK \n is only processed inside double-quoted strings and here-docs. The
> \N has no special meaning beyond a namespace separator and a capital N.
> My guess is the same as Adam's. Since I don't see how you declare
> INotification, I think it's getting confused when using namespaces. In the
> top part, PHP assumes the class must be in the org\puremvc\php\interfaces
> namespace whereas in SimpleCommand's declaration, INotification isÂassumed
> to be in theÂorg\puremvc\php\patterns\command namespace. This causes their
> declarations to be mismatched.
> David
>

Hi David,

It was a CNP error from several files that's how the INotification got
left out on the e-mail.  You're right.  I've must had a brain fart
yesterday afternoon.

Thanks,
Tommy

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux