Webiny\Component\Router\Route\RouteCollection::all PHP Method

all() public method

Returns an array of all routes within the collection.
public all ( ) : array
return array
    public function all()
    {
        return $this->routes->val();
    }