public function createConfig() { $num = array_push($this->configParameters, new Parameter()); return $this->configParameters[$num - 1]; }