{note} You're browsing the documentation for an old version of laravel-breadcrumbs. Consider upgrading your project to v3.

Generator

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
← Previous Topic

Breadcrumbs Facade

Caught a mistake? Suggest an edit on Github