public function decorate($id) { if (empty($this->prefix)) { return $id; } return $this->prefix . trim($id, '/'); }