Total Complexity | 6 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class Breadcrumbs extends BreadcrumbsManager implements BreadcrumbsContract |
||
10 | { |
||
11 | /** |
||
12 | * @param string|null $name |
||
13 | * |
||
14 | * @return string |
||
15 | * @throws ViewNotSetException |
||
16 | * @throws \DaveJamesMiller\Breadcrumbs\Exceptions\InvalidBreadcrumbException |
||
17 | * @throws \DaveJamesMiller\Breadcrumbs\Exceptions\UnnamedRouteException |
||
18 | */ |
||
19 | public function renderIfExists($name = null) |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param string $name |
||
35 | * @param array $params |
||
36 | * |
||
37 | * @return string |
||
38 | * @throws ViewNotSetException |
||
39 | * @throws \DaveJamesMiller\Breadcrumbs\Exceptions\InvalidBreadcrumbException |
||
40 | * @throws \DaveJamesMiller\Breadcrumbs\Exceptions\UnnamedRouteException |
||
41 | */ |
||
42 | public function renderArray($name, ...$params) |
||
43 | { |
||
44 | return $this->render($name, ...$params); |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param string $name |
||
49 | * @param array $params |
||
50 | * |
||
51 | * @return string |
||
52 | * @throws ViewNotSetException |
||
53 | * @throws \DaveJamesMiller\Breadcrumbs\Exceptions\InvalidBreadcrumbException |
||
54 | * @throws \DaveJamesMiller\Breadcrumbs\Exceptions\UnnamedRouteException |
||
55 | */ |
||
56 | public function renderIfExistsArray($name, $params = []) |
||
63 | } |
||
64 | } |
||
65 |