File tree Expand file tree Collapse file tree 11 files changed +16
-16
lines changed
OneTestBundle/Resources/phpcr-migrations
TwoTestBundle/Resources/phpcr-migrations Expand file tree Collapse file tree 11 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1111
1212namespace DTL \Bundle \PhpcrMigrations \Command ;
1313
14- use DTL \ PhpcrMigrations \MigratorFactory ;
14+ use PHPCR \ Migrations \MigratorFactory ;
1515use Symfony \Component \Console \Command \Command ;
1616use Symfony \Component \Console \Input \InputInterface ;
1717use Symfony \Component \Console \Output \OutputInterface ;
Original file line number Diff line number Diff line change 1111
1212namespace DTL \Bundle \PhpcrMigrations \Command ;
1313
14- use DTL \ PhpcrMigrations \MigratorFactory ;
14+ use PHPCR \ Migrations \MigratorFactory ;
1515use Symfony \Component \Console \Command \Command ;
1616use Symfony \Component \Console \Input \InputArgument ;
1717use Symfony \Component \Console \Input \InputInterface ;
Original file line number Diff line number Diff line change 1111
1212namespace DTL \Bundle \PhpcrMigrations \Command ;
1313
14- use DTL \ PhpcrMigrations \VersionFinder ;
15- use DTL \ PhpcrMigrations \VersionStorage ;
14+ use PHPCR \ Migrations \VersionFinder ;
15+ use PHPCR \ Migrations \VersionStorage ;
1616use Symfony \Component \Console \Command \Command ;
1717use Symfony \Component \Console \Helper \Table ;
1818use Symfony \Component \Console \Input \InputInterface ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ First create two new migration files:
2828// app/phpcr-migrations/Version201501011200.php
2929
3030use PHPCR\SessionInterface;
31- use DTL\PhpcrMigrations \VersionInterface;
31+ use PHPCR\Migrations \VersionInterface;
3232
3333class Version201501011200 implements VersionInterface
3434{
5151// app/phpcr-migrations/Version201501011212.php
5252
5353use PHPCR\SessionInterface;
54- use DTL\PhpcrMigrations \VersionInterface;
54+ use PHPCR\Migrations \VersionInterface;
5555
5656class Version201501011212 implements VersionInterface
5757{
Original file line number Diff line number Diff line change 44 xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd" >
55
66 <services >
7- <service id =" phpcr_migrations.version_storage" class =" DTL\PhpcrMigrations \VersionStorage" public =" false" >
7+ <service id =" phpcr_migrations.version_storage" class =" PHPCR\Migrations \VersionStorage" public =" false" >
88 <argument type =" service" id =" doctrine_phpcr.default_session" />
99 <argument >%phpcr_migrations.version_node_name%</argument >
1010 </service >
1111
12- <service id =" phpcr_migrations.version_finder" class =" DTL\PhpcrMigrations \VersionFinder" public =" false" >
12+ <service id =" phpcr_migrations.version_finder" class =" PHPCR\Migrations \VersionFinder" public =" false" >
1313 <argument >%phpcr_migrations.paths%</argument >
1414 </service >
1515
16- <service id =" phpcr_migrations.migrator_factory" class =" DTL\PhpcrMigrations \MigratorFactory" >
16+ <service id =" phpcr_migrations.migrator_factory" class =" PHPCR\Migrations \MigratorFactory" >
1717 <argument type =" service" id =" phpcr_migrations.version_storage" />
1818 <argument type =" service" id =" phpcr_migrations.version_finder" />
1919 <argument type =" service" id =" doctrine_phpcr.default_session" />
3636 <tag name =" console.command" />
3737 </service >
3838
39- <service id =" phpcr_migrations.migrator_factory" class =" DTL\PhpcrMigrations \MigratorFactory" >
39+ <service id =" phpcr_migrations.migrator_factory" class =" PHPCR\Migrations \MigratorFactory" >
4040 <argument type =" service" id =" phpcr_migrations.version_storage" />
4141 <argument type =" service" id =" phpcr_migrations.version_finder" />
4242 <argument type =" service" id =" doctrine_phpcr.default_session" />
Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- use DTL \ PhpcrMigrations \VersionInterface ;
12+ use PHPCR \ Migrations \VersionInterface ;
1313use PHPCR \SessionInterface ;
1414
1515class Version201501011200 implements VersionInterface
Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- use DTL \ PhpcrMigrations \VersionInterface ;
12+ use PHPCR \ Migrations \VersionInterface ;
1313use PHPCR \SessionInterface ;
1414
1515class Version201501011212 implements VersionInterface
Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- use DTL \ PhpcrMigrations \VersionInterface ;
12+ use PHPCR \ Migrations \VersionInterface ;
1313use PHPCR \SessionInterface ;
1414
1515class Version201501011215 implements VersionInterface
Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- use DTL \ PhpcrMigrations \VersionInterface ;
12+ use PHPCR \ Migrations \VersionInterface ;
1313use PHPCR \SessionInterface ;
1414use Symfony \Component \DependencyInjection \ContainerAwareInterface ;
1515use Symfony \Component \DependencyInjection \ContainerInterface ;
Original file line number Diff line number Diff line change 99 * file that was distributed with this source code.
1010 */
1111
12- use DTL \ PhpcrMigrations \VersionInterface ;
12+ use PHPCR \ Migrations \VersionInterface ;
1313use PHPCR \SessionInterface ;
1414
1515class Version201501011500 implements VersionInterface
You can’t perform that action at this time.
0 commit comments