Using PHP 5.3 namespaces (Doctrine2) with Zend Framework classes -
I have a situation where my theory model, posted
, is being in the name space < Code> applications \ organizations \ / code> and I want to try implementing Zend_Acl_Resource_Interface
. I get an error
Fatal error: Interfaces 'applications \ units \ Zend_Acl_Resource_Interface' was not found in D: \ Projects \ Websites \ php \ ZendFram ework \ LearningZF \ library \ Application \ Entities \ Post. Php on line 8
namespace application \ body; Use the proposed extension \ NestedSet \ Node; / ** * @Entity @Table (name = "post") * Applying / class post node, Zend_Acl_Resource_Interface {
update
If I try < Serious error: Interface did not get in 'Zend_Acl_Resource_Interface' D: \ Projects \ websites \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \ Php \ ZendFramework \ LearningZF \ library \ application \ entities \ post.php line 8 on
Whether you're using or stable one, eg 1.10? ZF is your autoloader setup to load classes with naming scheme
You can use the conversion tool ZF Devs namespace to use to convert ZF :?
Comments
Post a Comment