| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace App;
- class Breadcrumb {
- /** @var string */
- private $name;
- /** @var string */
- private $url;
- public function __construct(string $url, string $name) {
- $this->url = $url;
- $this->name = $name;
- }
- /**
- * @return string
- */
- public function getName(): string {
- return $this->name;
- }
- /**
- * @return string
- */
- public function getUrl(): string {
- return $this->url;
- }
- }
|