laravel-breadcrumbs
Api
Generator
On this page
{note} laravel-breadcrumbs has been archived and is no longer maintained. Use caution when installing in your apps.
Rawilk\Breadcrumbs\Support\Generator
push
/**
* Push a link onto the breadcrumbs stack.
*
* @param string $title
* @param string|null $url
* @param array $data
* @return \Rawilk\Breadcrumbs\Support\Generator
*/
public function push(string $title, string $url = null, array $data = []): Generator
parent
/**
* Add an already defined breadcrumb onto the current breadcrumb stack.
*
* @param string $name
* @param ...$params
* @return \Rawilk\Breadcrumbs\Support\Breadcrumbs
*/
public function parent(string $name, ...$params): Generator