kahlan\cli\Kahlan::_interceptor PHP Method

_interceptor() protected method

The default 'interceptor' filter.
protected _interceptor ( )
    protected function _interceptor()
    {
        return Filter::on($this, 'interceptor', [], function ($chain) {
            Interceptor::patch(['loader' => [$this->autoloader(), 'loadClass'], 'include' => $this->commandLine()->get('include'), 'exclude' => array_merge($this->commandLine()->get('exclude'), ['Kahlan\\']), 'persistent' => $this->commandLine()->get('persistent'), 'cachePath' => rtrim(realpath(sys_get_temp_dir()), DS) . DS . 'kahlan', 'clearCache' => $this->commandLine()->get('cc')]);
        });
    }