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());
});
}