Skip to content

Instantly share code, notes, and snippets.

@juriansluiman
Created January 31, 2014 09:38
<?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