/** * @param atoum\annotations\extractor $extractor * * @return $this|void */ protected function setClassAnnotations(atoum\annotations\extractor $extractor) { parent::setClassAnnotations($extractor); $test = $this; $extractor->setHandler('resetKernel', function ($value) use($test) { $test->enableKernelReset(atoum\annotations\extractor::toBoolean($value)); })->setHandler('noResetKernel', function () use($test) { $test->enableKernelReset(false); }); }