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