Make Navigation::findItem() public

We need this method public for the navigation dashbaord.
This commit is contained in:
Eric Lippmann 2017-11-20 19:11:16 +01:00
parent 21dbe4ec47
commit e7ca817e81

View File

@ -363,7 +363,7 @@ class Navigation implements ArrayAccess, Countable, IteratorAggregate
* *
* @return NavigationItem * @return NavigationItem
*/ */
protected function findItem($name) public function findItem($name)
{ {
$item = $this->getItem($name); $item = $this->getItem($name);
if ($item !== null) { if ($item !== null) {