/** * Return the edit link. * * @return string */ public function editLink() { return app('html')->link(implode('/', array_filter(['admin', $this->object->getStreamNamespace(), $this->object->getStreamSlug(), $this->object->getMenuSlug(), 'edit', $this->object->getId()])), $this->object->getTitle()); }