From d91c2b3912f9e4ee1c819a6c917ea88eadcc9744 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Thu, 27 Sep 2012 14:09:36 +0300 Subject: [PATCH] Removing unused methods from guard interface Those methods were already defined in [`Zend\EventManager\ListenerAggregateInterface`](https://github.com/zendframework/zf2/blob/master/library/Zend/EventManager/ListenerAggregateInterface.php) and `getResources` is already provided by [`BjyAuthorize\Provider\Resource\ProviderInterface`](https://github.com/bjyoungblood/BjyAuthorize/blob/master/src/BjyAuthorize/Provider/Resource/ProviderInterface.php) This is conflicting with PHP `<5.4` --- src/BjyAuthorize/Guard/GuardInterface.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/BjyAuthorize/Guard/GuardInterface.php b/src/BjyAuthorize/Guard/GuardInterface.php index fcc46ec..07e979c 100644 --- a/src/BjyAuthorize/Guard/GuardInterface.php +++ b/src/BjyAuthorize/Guard/GuardInterface.php @@ -7,9 +7,4 @@ interface GuardInterface extends ListenerAggregateInterface { - public function getResources(); - - public function attach(EventManagerInterface $events); - - public function detach(EventManagerInterface $events); }