public function getConstant($index) { return isset($this->constants[$index]) === false ? null : $this->constants[$index]; }