Skip to content

Commit

Permalink
[#14213] - Moved Container to its own folder; Renamed abstract firewa…
Browse files Browse the repository at this point in the history
…ll classes
  • Loading branch information
niden committed Jul 4, 2019
1 parent d9702bc commit f029a61
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 898 deletions.
563 changes: 0 additions & 563 deletions ext/phalcon/firewall/adapter.zep.c

This file was deleted.

190 changes: 0 additions & 190 deletions ext/phalcon/firewall/adapter.zep.h

This file was deleted.

70 changes: 0 additions & 70 deletions ext/phalcon/firewall/adapterinterface.zep.c

This file was deleted.

65 changes: 0 additions & 65 deletions ext/phalcon/firewall/adapterinterface.zep.h

This file was deleted.

2 changes: 1 addition & 1 deletion phalcon/Container.zep → phalcon/Container/Container.zep
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace Phalcon;
namespace Phalcon\Container;

use Psr\Container\ContainerInterface;
use Phalcon\DiInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace Phalcon\Firewall;
namespace Phalcon\Firewall\Adapter;

use Closure;
use Phalcon\Acl;
Expand All @@ -17,12 +17,13 @@ use Phalcon\Cache\Adapter\AdapterInterface as CacheAdapterInterface;
use Phalcon\DiInterface;
use Phalcon\Events\EventsAwareInterface;
use Phalcon\Events\ManagerInterface;
use Phalcon\Firewall\Exception;
use Phalcon\Mvc\Dispatcher;

/**
* Adapter for Phalcon\Firewall adapters
*/
abstract class Adapter implements AdapterInterface, EventsAwareInterface
abstract class AbstractAdapter implements AdapterInterface, EventsAwareInterface
{
/**
* Storing active identity object implementing Phalcon/Acl/RoleAware
Expand Down
4 changes: 2 additions & 2 deletions phalcon/Firewall/Adapter/Acl.zep
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ use Phalcon\Di;
use Phalcon\Cache\Adapter\AdapterInterface;
use Phalcon\Events\Event;
use Phalcon\Events\ManagerInterface;
use Phalcon\Firewall\Adapter;
use Phalcon\Firewall\Adapter\AbstractAdapter;
use Phalcon\Firewall\Exception;
use Phalcon\Mvc\DispatcherInterface;

/**
* FirewallZ for Phalcon\Application which depends on acl and dispatcher
*/
class Acl extends Adapter
class Acl extends AbstractAdapter
{
/**
* Acl service name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* file that was distributed with this source code.
*/

namespace Phalcon\Firewall;
namespace Phalcon\Firewall\Adapter;

use Phalcon\Mvc\DispatcherInterface;
use Phalcon\Cache\Adapter\AdapterInterface as CacheAdapterInterface;
Expand Down
Loading

0 comments on commit f029a61

Please sign in to comment.