1
1
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Blog :
2
- uri_schema :
2
+ definitions :
3
3
frontend :
4
4
uri_schema : /blog/{blog_title}
5
5
defaults :
@@ -8,12 +8,14 @@ Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Blog:
8
8
blog_title : [content_method, { method: getTitle } ]
9
9
10
10
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Post :
11
- uri_schema : /blog/{blog_title}/{post_date}/{post_title}
12
- conflict_resolver : [auto_increment, { }]
11
+ definitions :
12
+ view :
13
+ uri_schema : /blog/{blog_title}/{post_date}/{post_title}
13
14
token_providers :
14
15
blog_title : [content_method, { method: getBlogTitle } ]
15
16
post_date : [content_datetime, { method: getDate, date_format: Y/m/d } ]
16
17
post_title : [content_method, { method: getTitle } ]
18
+ conflict_resolver : [auto_increment, { }]
17
19
18
20
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Article :
19
21
definitions :
@@ -34,25 +36,33 @@ Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Article:
34
36
article_locale : [content_locale, {} ]
35
37
36
38
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\SeoArticle :
37
- uri_schema : /seo-articles/{article_title}
39
+ definitions :
40
+ view :
41
+ uri_schema : /seo-articles/{article_title}
38
42
defunct_route_handler : [leave_redirect, {}]
39
43
token_providers :
40
44
article_title : [content_method, { method: getTitle } ]
41
45
42
46
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\SeoArticleMultilang :
43
- uri_schema : /seo-articles/{article_locale}/{article_title}
47
+ definitions :
48
+ view :
49
+ uri_schema : /seo-articles/{article_locale}/{article_title}
44
50
defunct_route_handler : [leave_redirect, {}]
45
51
token_providers :
46
52
article_title : [content_method, { method: getTitle } ]
47
53
article_locale : [content_locale, {} ]
48
54
49
55
# AbstractContent for ensuring that parent class mapping works
50
56
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\AbstractContent :
51
- uri_schema : /articles/{article_title}
57
+ definitions :
58
+ view :
59
+ uri_schema : /articles/{article_title}
52
60
token_providers :
53
61
article_title : [content_method, { method: getTitle } ]
54
62
55
63
Symfony\Cmf\Bundle\RoutingAutoBundle\Tests\Resources\Document\Page :
56
- uri_schema : /{title}
64
+ definitions :
65
+ view :
66
+ uri_schema : /{title}
57
67
token_providers :
58
68
title : [content_method, { method: getTitle } ]
0 commit comments