public function setScoreFactory(\closure $factory = null) { $this->scoreFactory = $factory ?: function () { return new atoum\score(); }; return $this; }