You are here

public function LazyRouteCollection::count in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/LazyRouteCollection.php \Symfony\Cmf\Component\Routing\LazyRouteCollection::count()

Gets the number of Routes in this collection.

Return value

int The number of routes

Overrides RouteCollection::count

File

vendor/symfony-cmf/routing/LazyRouteCollection.php, line 45

Class

LazyRouteCollection

Namespace

Symfony\Cmf\Component\Routing

Code

public function count() {
  return count($this
    ->all());
}