public function setTarget($target) { if (is_object($target) === false) { throw new atoum\exceptions\logic\invalidArgument(sprintf('%s is not an object', $target)); } return parent::setTarget($target); }
public function setTarget($target) { if (is_object($target) === false && class_exists($target) === false) { throw new atoum\exceptions\logic\invalidArgument(sprintf('Class %s does not exist', $target)); } return parent::setTarget($target); }