Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Removing unused methods from guard interface #32

Merged
merged 1 commit into from

2 participants

@Ocramius
Collaborator

Those methods were already defined in Zend\EventManager\ListenerAggregateInterface and getResources is already provided by BjyAuthorize\Provider\Resource\ProviderInterface

This is conflicting with PHP <5.4

@Ocramius Ocramius 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`
d91c2b3
@bjyoungblood bjyoungblood merged commit 91fe03e into bjyoungblood:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 27, 2012
  1. @Ocramius

    Removing unused methods from guard interface

    Ocramius authored
    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`
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/BjyAuthorize/Guard/GuardInterface.php
View
5 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);
}
Something went wrong with that request. Please try again.