Navigation: Remove method hasItems()

Redundant, as it's expressible with "! $nav->isEmpty()".

refs #5600
This commit is contained in:
Johannes Meyer 2015-09-02 13:29:07 +02:00
parent f449c78dbf
commit a4c2081f64
1 changed files with 0 additions and 10 deletions

View File

@ -226,16 +226,6 @@ class Navigation implements ArrayAccess, Countable, IteratorAggregate
return $this->items; return $this->items;
} }
/**
* Get whether the navigation has items
*
* @return bool
*/
public function hasItems()
{
return ! empty($this->items);
}
/** /**
* Return whether this navigation is empty * Return whether this navigation is empty
* *