public function addPrefix($prefix) { if ($this->prefix) { $this->prefix = $prefix . $this->prefix; } else { $this->prefix = $prefix; } }