26 lines
		
	
	
		
			887 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			887 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
<?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);
 | 
						|
    }
 | 
						|
}
 |