Go\Aop\Pointcut\AndPointcut::__construct PHP Method

__construct() public method

Signature method matcher constructor
public __construct ( Go\Aop\Pointcut $first, Go\Aop\Pointcut $second )
$first Go\Aop\Pointcut First filter
$second Go\Aop\Pointcut Second filter
    public function __construct(Pointcut $first, Pointcut $second)
    {
        $this->first = $first;
        $this->second = $second;
        $this->kind = $first->getKind() & $second->getKind();
        $this->classFilter = new AndPointFilter($first->getClassFilter(), $second->getClassFilter());
    }