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.

{note} You're browsing the documentation for an old version of laravel-breadcrumbs. Consider upgrading your project to v4. Check your version with the following command:

`composer show rawilk/laravel-breadcrumbs`

Rawilk\Breadcrumbs\Support\Generator

/**
 * 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
/**
 * 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
Previous
Breadcrumbs Facade