Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark command and compile pass classes, as internal #800

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Command/ClearMetadataCacheDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Command to clear the metadata cache of the various cache drivers.
*
* @internal since version 4.7.0
*/
class ClearMetadataCacheDoctrineODMCommand extends MetadataCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/CreateSchemaDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/**
* Command to create the database schema for a set of classes based on their
* mappings.
*
* @internal since version 4.7.0
*/
class CreateSchemaDoctrineODMCommand extends CreateCommand
{
Expand Down
2 changes: 1 addition & 1 deletion Command/DoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* Base class for Doctrine ODM console commands to extend.
*
* @internal since version 5.0
* @internal since version 4.4.0
*/
abstract class DoctrineODMCommand extends Command
{
Expand Down
2 changes: 2 additions & 0 deletions Command/DropSchemaDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/**
* Command to drop the database schema for a set of classes based on their
* mappings.
*
* @internal since version 4.7.0
*/
class DropSchemaDoctrineODMCommand extends DropCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/GenerateHydratorsDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Generate the Doctrine ORM document hydrators to your cache directory.
*
* @internal since version 4.7.0
*/
class GenerateHydratorsDoctrineODMCommand extends GenerateHydratorsCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/GenerateProxiesDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Generate the Doctrine ORM document proxies to your cache directory.
*
* @internal since version 4.7.0
*/
class GenerateProxiesDoctrineODMCommand extends GenerateProxiesCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/InfoDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

/**
* Show information about mapped documents
*
* @internal since version 4.7.0
*/
class InfoDoctrineODMCommand extends DoctrineODMCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/LoadDataFixturesDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

/**
* Load data fixtures from bundles.
*
* @internal since version 4.7.0
*/
class LoadDataFixturesDoctrineODMCommand extends DoctrineODMCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/QueryDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Execute a Doctrine MongoDB ODM query and output the results.
*
* @internal since version 4.7.0
*/
class QueryDoctrineODMCommand extends QueryCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/ShardDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/**
* Command to shard database collections for a set of classes based on their
* mappings.
*
* @internal since version 4.7.0
*/
class ShardDoctrineODMCommand extends ShardCommand
{
Expand Down
2 changes: 2 additions & 0 deletions Command/UpdateSchemaDoctrineODMCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
/**
* Command to update the database schema for a set of classes based on their
* mappings.
*
* @internal since version 4.7.0
*/
class UpdateSchemaDoctrineODMCommand extends UpdateCommand
{
Expand Down
1 change: 1 addition & 0 deletions DataCollector/CommandDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use function MongoDB\BSON\fromPHP;
use function MongoDB\BSON\toCanonicalExtendedJSON;

/** @internal since version 4.7.0 */
class CommandDataCollector extends DataCollector
{
public function __construct(private CommandLogger $commandLogger)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use function mkdir;
use function sprintf;

/** @internal */
class CreateHydratorDirectoryPass implements CompilerPassInterface
{
/** @return void */
Expand Down
1 change: 1 addition & 0 deletions DependencyInjection/Compiler/CreateProxyDirectoryPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use function mkdir;
use function sprintf;

/** @internal since version 4.7.0 */
class CreateProxyDirectoryPass implements CompilerPassInterface
{
/** @return void */
Expand Down
2 changes: 2 additions & 0 deletions DependencyInjection/Compiler/DoctrineMongoDBMappingsPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* automapped folder.
*
* NOTE: alias is only supported by Symfony 2.6+ and will be ignored with older versions.
*
* @internal since version 4.7.0
*/
class DoctrineMongoDBMappingsPass extends RegisterMappingsPass
{
Expand Down
1 change: 1 addition & 0 deletions DependencyInjection/Compiler/FixturesCompilerPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Reference;

/** @internal since version 4.7.0 */
final class FixturesCompilerPass implements CompilerPassInterface
{
public const FIXTURE_TAG = 'doctrine.fixture.odm.mongodb';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use function array_keys;
use function array_map;

/** @internal since version 4.7.0 */
final class ServiceRepositoryCompilerPass implements CompilerPassInterface
{
public const REPOSITORY_SERVICE_TAG = 'doctrine_mongodb.odm.repository_service';
Expand Down