code: public function load(ObjectManager $manager)
      {
          $patterns = array(
              'foo',
              'foo/{bar}',
              'foo/bar',
              'baz/bar',
              'foo/{bar}/baz',
              'zero/one/two/three/four/five/six/{seven}/eight/nine/ten/eleven',
              'zero/one/two/three/four/five/six/{seven}/eight/nine/ten/{eleven}/twelve',
              'zero/one/two/three/four/five/six/{seven}/eight/nine/ten/eleven/twelve',
              'zero/one/two/three/four/five/six/{seven}/eight/nine/ten/eleven/{twelve}'
          );
  
          foreach ($patterns as $pattern) {
              $route = new RouteDocument();
              $route->setName($pattern);
              $route->setPattern($pattern);
  
              $manager->persist($route);
          }
  
          $manager->flush();
      }
docs: Load data fixtures with the passed EntityManager
  
  @param ObjectManager $manager