Your IP : 216.73.216.220


Current Path : /var/www/html/generated/code/Magento/Framework/Authorization/
Upload File :
Current File : /var/www/html/generated/code/Magento/Framework/Authorization/Interceptor.php

<?php
namespace Magento\Framework\Authorization;

/**
 * Interceptor class for @see \Magento\Framework\Authorization
 */
class Interceptor extends \Magento\Framework\Authorization implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\Framework\Authorization\PolicyInterface $aclPolicy, \Magento\Framework\Authorization\RoleLocatorInterface $roleLocator)
    {
        $this->___init();
        parent::__construct($aclPolicy, $roleLocator);
    }

    /**
     * {@inheritdoc}
     */
    public function isAllowed($resource, $privilege = null)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'isAllowed');
        return $pluginInfo ? $this->___callPlugins('isAllowed', func_get_args(), $pluginInfo) : parent::isAllowed($resource, $privilege);
    }
}