-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Possibility to inherit from EntityManager for Presenter inject
- Loading branch information
1 parent
607fefa
commit 53c47c9
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/KdybyTests/Doctrine/config/entitymanager-decorator.neon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
kdyby.doctrine: | ||
metadata: | ||
KdybyTests\Doctrine: annotations(%appDir%/Doctrine/models) | ||
|
||
default: | ||
driver: pdo_sqlite | ||
memory: true | ||
|
||
remote: | ||
driver: pdo_sqlite | ||
memory: true | ||
|
||
|
||
services: | ||
- KdybyTests\DoctrineMocks\RemoteEntityManager(@kdyby.doctrine.remote.entityManager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Kdyby (http://www.kdyby.org) | ||
* | ||
* Copyright (c) 2008 Filip Procházka ([email protected]) | ||
* | ||
* For the full copyright and license information, please view the file license.txt that was distributed with this source code. | ||
*/ | ||
|
||
namespace KdybyTests\DoctrineMocks; | ||
|
||
|
||
|
||
/** | ||
* @author Tomáš Jacík <[email protected]> | ||
*/ | ||
class RemoteEntityManager extends \Doctrine\ORM\Decorator\EntityManagerDecorator | ||
{ | ||
} |