kahlan\cli\Kahlan::_patchers PHP Method

_patchers() protected method

The default 'patcher' filter.
protected _patchers ( )
    protected function _patchers()
    {
        if (!($interceptor = Interceptor::instance())) {
            return;
        }
        return Filter::on($this, 'patchers', [], function ($chain) {
            $interceptor = Interceptor::instance();
            $patchers = $interceptor->patchers();
            $patchers->add('pointcut', new Pointcut());
            $patchers->add('monkey', new Monkey());
            $patchers->add('rebase', new Rebase());
            $patchers->add('quit', new Quit());
        });
    }