public function defineConsts(array $constants = []) { foreach ($constants as $name => $value) { $this->defineConst($name, $value); } return $this; }