for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* This file is part of the Ray.Di package.
*
* @license http://opensource.org/licenses/MIT MIT
*/
namespace Ray\Di;
use Ray\Aop\AbstractMatcher;
class Pointcut extends \Ray\Aop\Pointcut
{
* @var string[]
public $interceptors = [];
* @param AbstractMatcher $classMatcher
* @param AbstractMatcher $methodMatcher
* @param string[] $interceptors array of interceptor class name
public function __construct(AbstractMatcher $classMatcher, AbstractMatcher $methodMatcher, array $interceptors)
$this->classMatcher = $classMatcher;
$this->methodMatcher = $methodMatcher;
$this->interceptors = $interceptors;
}