This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +19
-20
lines changed Expand file tree Collapse file tree 9 files changed +19
-20
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ and then get the Symfony CMF code with it (this may take a while):
60
60
61
61
.. code-block :: bash
62
62
63
- $ php composer.phar create-project symfony-cmf/standard-edition < path-to-install> ~ 1.1
63
+ $ php composer.phar create-project symfony-cmf/standard-edition < path-to-install> ~ 1.2
64
64
$ cd < path-to-install>
65
65
66
66
.. note ::
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ cmf_request_aware
13
13
in CoreBundle 1.2. Since Symfony 2.3, you can profit from the fact
14
14
that the request is a `synchronized service `_.
15
15
16
- When working with the 1.0 version of the CMF in Symfony 2.2 and you have
17
- services that need the request (e.g. for the publishing workflow or current
18
- menu item voters), you can tag services with ``cmf_request_aware `` to have a
19
- kernel listener inject the request. Any class used in such a tagged service
20
- must have the `` setRequest `` method or you will get a fatal error::
16
+ When working with the CMF in Symfony 2.2 and you have services that need the
17
+ request (e.g. for the publishing workflow or current menu item voters), you can
18
+ tag services with ``cmf_request_aware `` to have a kernel listener inject the
19
+ request. Any class used in such a tagged service must have the `` setRequest ``
20
+ method or you will get a fatal error::
21
21
22
22
use Symfony\Component\HttpFoundation\Request;
23
23
Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ Mapping Requests to Domain Objects
506
506
One last piece is the mapping between CreatePHP data and the application
507
507
domain objects. Data needs to be stored back into the database.
508
508
509
- In version 1.0 , the CreateBundle only provides a service to map to Doctrine
509
+ Currently , the CreateBundle only provides a service to map to Doctrine
510
510
PHPCR-ODM. If you do not enable the phpcr persistence layer, you need to
511
511
configure the ``cmf_create.object_mapper_service_id ``.
512
512
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ features:
11
11
* Render menus stored in the persistence layer;
12
12
* Generate menu node URLs from linked Content or Route.
13
13
14
- Note that only the Doctrine PHPCR-ODM persistence layer is supported in the
15
- 1.0 release.
14
+ Note that only the Doctrine PHPCR-ODM persistence layer is currently supported.
16
15
17
16
.. caution ::
18
17
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ content repository.
36
36
...
37
37
" require" : {
38
38
...
39
- " doctrine/phpcr-bundle" : " 1.1 .*" ,
40
- " doctrine/phpcr-odm" : " 1.0 .*" ,
41
- " jackalope/jackalope-doctrine-dbal" : " 1.0.0 "
39
+ " doctrine/phpcr-bundle" : " 1.2 .*" ,
40
+ " doctrine/phpcr-odm" : " 1.2 .*" ,
41
+ " jackalope/jackalope-doctrine-dbal" : " 1.2.* "
42
42
}
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Add the following to your ``composer.json`` file:
37
37
38
38
" require" : {
39
39
...
40
- " symfony-cmf/symfony-cmf" : " 1.1 .*"
40
+ " symfony-cmf/symfony-cmf" : " 1.2 .*"
41
41
}
42
42
43
43
And then run:
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ and then get the Symfony CMF code with it (this may take a while):
48
48
49
49
.. code-block :: bash
50
50
51
- $ php composer.phar create-project --no-install symfony-cmf/sandbox < path-to-install> ~ 1.1
51
+ $ php composer.phar create-project --no-install symfony-cmf/sandbox < path-to-install> ~ 1.2
52
52
$ cd < path-to-install>
53
53
$ mv ../composer.phar .
54
54
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ The best way to download the Symfony CMF Standard Edition is using Composer_:
45
45
46
46
.. code-block :: bash
47
47
48
- $ php composer.phar create-project symfony-cmf/standard-edition cmf ~ 1.1
48
+ $ php composer.phar create-project symfony-cmf/standard-edition cmf ~ 1.2
49
49
50
50
Setting up the Database
51
51
~~~~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -40,14 +40,14 @@ file in the previous step.
40
40
...
41
41
require: {
42
42
...
43
- " doctrine/phpcr-bundle" : " 1.1 .*" ,
44
- " jackalope/jackalope-doctrine-dbal" : " 1.1 .0" ,
43
+ " doctrine/phpcr-bundle" : " 1.2 .*" ,
44
+ " jackalope/jackalope-doctrine-dbal" : " 1.2 .0" ,
45
45
" symfony-cmf/routing-auto-bundle" : " dev-master" ,
46
46
" symfony-cmf/menu-bundle" : " 1.2.*" ,
47
- " sonata-project/doctrine-phpcr-admin-bundle" : " 1.1 .*" ,
48
- " symfony-cmf/tree-browser-bundle" : " 1.1 .x-dev as 1.0" ,
47
+ " sonata-project/doctrine-phpcr-admin-bundle" : " 1.2 .*" ,
48
+ " symfony-cmf/tree-browser-bundle" : " 1.2 .x-dev as 1.0" ,
49
49
" doctrine/data-fixtures" : " 1.0.*" ,
50
- " phpcr/phpcr-utils" : " 1.1 .*" ,
50
+ " phpcr/phpcr-utils" : " 1.2 .*" ,
51
51
" symfony-cmf/routing-bundle" : " 1.2.*" ,
52
52
" symfony-cmf/routing" : " 1.2.*"
53
53
},
You can’t perform that action at this time.
0 commit comments