Exemplo n.º 1
0
 /**
  * Create new instance of Runner, optionally providing configuration and initial collection of Checks.
  *
  * @param ConfigInterface|array|traversable $config   Config settings.
  * @param null|array|Traversable            $checks   A collection of Checks to run.
  * @param null|ReporterInterface            $reporter Reporter instance to use
  */
 public function __construct($config = null, $checks = null, ReporterInterface $reporter = null)
 {
     if ($config !== null) {
         $this->setConfig($config);
     }
     return parent::__construct(array(), $checks, $reporter);
 }