예제 #1
0
 /**
  * Return the view link.
  *
  * @return string
  */
 public function viewLink()
 {
     return app('html')->link(implode('/', array_filter(['admin', 'files', 'browser', $this->object->getSlug()])), $this->object->getName());
 }
예제 #2
0
 /**
  * Handle the command.
  *
  * @param BreadcrumbCollection $breadcrumbs
  */
 public function handle(BreadcrumbCollection $breadcrumbs)
 {
     $breadcrumbs->add($this->disk->getName(), 'admin/files/browser/' . $this->disk->getSlug());
 }