-
-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2555 from doctrine/2.5.x-merge-up-into-2.6.x_KOlV…
…K6XK Merge release 2.5.3 into 2.6.x
- Loading branch information
Showing
13 changed files
with
113 additions
and
25 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
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
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
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
40 changes: 40 additions & 0 deletions
40
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadataFactoryInterface.php
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,40 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Doctrine\ODM\MongoDB\Mapping; | ||
|
||
use Doctrine\ODM\MongoDB\Configuration; | ||
use Doctrine\ODM\MongoDB\DocumentManager; | ||
use Doctrine\Persistence\Mapping\ClassMetadataFactory; | ||
use Doctrine\Persistence\Mapping\ProxyClassNameResolver; | ||
use Psr\Cache\CacheItemPoolInterface; | ||
|
||
/** | ||
* @template-extends ClassMetadataFactory<ClassMetadata> | ||
* @method list<ClassMetadata> getAllMetadata() | ||
* @method ClassMetadata[] getLoadedMetadata() | ||
* @method ClassMetadata getMetadataFor($className) | ||
*/ | ||
interface ClassMetadataFactoryInterface extends ClassMetadataFactory | ||
{ | ||
/** | ||
* Sets the cache for created metadata. | ||
*/ | ||
public function setCache(CacheItemPoolInterface $cache): void; | ||
|
||
/** | ||
* Sets the configuration for the factory. | ||
*/ | ||
public function setConfiguration(Configuration $config): void; | ||
|
||
/** | ||
* Sets the document manager owning the factory. | ||
*/ | ||
public function setDocumentManager(DocumentManager $dm): void; | ||
|
||
/** | ||
* Sets a resolver for real class names of a proxy. | ||
*/ | ||
public function setProxyClassNameResolver(ProxyClassNameResolver $resolver): void; | ||
} |
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
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
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
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
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
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
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
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