setClassAnnotations() 보호된 메소드

protected setClassAnnotations ( annotations\extractor $extractor )
$extractor annotations\extractor
예제 #1
0
파일: Test.php 프로젝트: aliel/AtoumBundle
 /**
  * @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);
     });
 }
예제 #2
0
 protected function setClassAnnotations(annotations\extractor $extractor)
 {
     parent::setClassAnnotations($extractor);
     $test = $this;
     $extractor->setHandler('runTestsInSeparateProcesses', function () use($test, &$methodName) {
         $test->setMethodEngine($methodName, 'isolate');
     });
     return $this;
 }