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

__construct() public method

Control flow below constructor
public __construct ( Go\Aop\Pointcut $pointcut )
$pointcut Go\Aop\Pointcut Instance of pointcut, that will be used for matching
    public function __construct(Pointcut $pointcut)
    {
        $this->internalClassFilter = $pointcut->getClassFilter();
        $this->internalPointFilter = $pointcut;
        if (!($this->internalPointFilter->getKind() & PointFilter::KIND_METHOD)) {
            throw new \InvalidArgumentException("Only method filters are valid for control flow");
        }
    }
CFlowBelowMethodPointcut