From efbfeabbaab61dfba4b57bd2b25a6b5e3ae2672a Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Tue, 24 Jul 2012 14:15:45 -0500 Subject: [PATCH] Updated all classes depending on Zend\Acl to use Zend\Permissions\Acl - Navigation and navigation view helpers --- src/Page/AbstractPage.php | 2 +- test/Page/PageTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Page/AbstractPage.php b/src/Page/AbstractPage.php index 5133fcc..31ca972 100644 --- a/src/Page/AbstractPage.php +++ b/src/Page/AbstractPage.php @@ -11,9 +11,9 @@ namespace Zend\Navigation\Page; use Traversable; -use Zend\Acl\Resource\ResourceInterface as AclResource; use Zend\Navigation\AbstractContainer; use Zend\Navigation\Exception; +use Zend\Permissions\Acl\Resource\ResourceInterface as AclResource; use Zend\Stdlib\ArrayUtils; /** diff --git a/test/Page/PageTest.php b/test/Page/PageTest.php index 8dacdb7..55acab6 100644 --- a/test/Page/PageTest.php +++ b/test/Page/PageTest.php @@ -458,7 +458,7 @@ public function testSetResourceInterface() 'label' => 'hello' )); - $resource = new \Zend\Acl\Resource\GenericResource('bar'); + $resource = new \Zend\Permissions\Acl\Resource\GenericResource('bar'); $page->setResource($resource); $this->assertEquals($resource, $page->getResource());