Skip to content

Instantly share code, notes, and snippets.

@juriansluiman
Created January 31, 2014 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juriansluiman/8729062 to your computer and use it in GitHub Desktop.
Save juriansluiman/8729062 to your computer and use it in GitHub Desktop.
<?php
namespace MyModule\Service;
use ZfcRbac\Service\AuthorizationService as BaseAuthorizationService;
class AuthorizationService extends BaseAuthorizationService
{
protected $myDependency;
public function __construct(Rbac $rbac, RoleService $roleService, AssertionPluginManager $assertionPluginManager, $myDependency = null)
{
parent::__construct($rbac, $roleService, $assertionPluginManager);
$this->myDependency = $myDependency;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment