diff --git a/src/Annotation/Breadcrumb.php b/src/Annotation/Breadcrumb.php index 4b15104..45662d0 100644 --- a/src/Annotation/Breadcrumb.php +++ b/src/Annotation/Breadcrumb.php @@ -66,14 +66,6 @@ public function __construct(array $data) if ($this->fullRoute && $this->route) { throw new \InvalidArgumentException(sprintf('Only "route" or "fullRoute" can be provided.')); } - - if (!$this->fullName && !$this->name) { - throw new \InvalidArgumentException(sprintf('Eg. "name" or "fullName" must be provided.')); - } - - if (!$this->fullRoute && !$this->route) { - throw new \InvalidArgumentException(sprintf('Eg. "route" or "fullRoute" must be provided.')); - } } /**