Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8723df

Browse files
[DI/Yaml] Remove@experimental flag from "instanceof" and "prototype"
1 parentc23d327 commite8723df

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

‎src/Symfony/Component/DependencyInjection/CHANGELOG.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ CHANGELOG
88
* added "container.service_locator" tag for defining service-locator services
99
* added anonymous services support in YAML configuration files using the`!service` tag.
1010
* added "TypedReference" and "ServiceClosureArgument" for creating service-locator services
11-
*[EXPERIMENTAL]added "instanceof" section for local interface-defined configs
12-
*[EXPERIMENTAL]added prototype services for PSR4-based discovery and registration
11+
* added "instanceof" section for local interface-defined configs
12+
* added prototype services for PSR4-based discovery and registration
1313
* added`ContainerBuilder::getReflectionClass()` for retrieving and tracking reflection class info
1414
* deprecated`ContainerBuilder::getClassResource()`, use`ContainerBuilder::getReflectionClass()` or`ContainerBuilder::addObjectResource()` instead
1515
* added`ContainerBuilder::fileExists()` for checking and tracking file or directory existence

‎src/Symfony/Component/DependencyInjection/Definition.php‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,6 @@ public function getMethodCalls()
335335
* Sets the definition templates to conditionally apply on the current definition, keyed by parent interface/class.
336336
*
337337
* @param $instanceof ChildDefinition[]
338-
*
339-
* @experimental in version 3.3
340338
*/
341339
publicfunctionsetInstanceofConditionals(array$instanceof)
342340
{
@@ -349,8 +347,6 @@ public function setInstanceofConditionals(array $instanceof)
349347
* Gets the definition templates to conditionally apply on the current definition, keyed by parent interface/class.
350348
*
351349
* @return ChildDefinition[]
352-
*
353-
* @experimental in version 3.3
354350
*/
355351
publicfunctiongetInstanceofConditionals()
356352
{

‎src/Symfony/Component/DependencyInjection/Loader/FileLoader.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public function __construct(ContainerBuilder $container, FileLocatorInterface $l
4646
* @param Definition $prototype A definition to use as template
4747
* @param string $namespace The namespace prefix of classes in the scanned directory
4848
* @param string $resource The directory to look for classes, glob-patterns allowed
49-
*
50-
* @experimental in version 3.3
5149
*/
5250
publicfunctionregisterClasses(Definition$prototype,$namespace,$resource)
5351
{
@@ -68,7 +66,10 @@ public function registerClasses(Definition $prototype, $namespace, $resource)
6866
}
6967

7068
/**
71-
* @experimental in version 3.3
69+
* Registers a definition in the container with its instanceof-conditionals.
70+
*
71+
* @param string $id
72+
* @param Definition $definition
7273
*/
7374
protectedfunctionsetDefinition($id,Definition$definition)
7475
{

‎src/Symfony/Component/Yaml/Tag/TaggedValue.php‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* @author Nicolas Grekas <p@tchwork.com>
1616
* @author Guilhem N. <egetick@gmail.com>
17-
*
18-
* @experimental in version 3.3
1917
*/
2018
finalclass TaggedValue
2119
{

‎src/Symfony/Component/Yaml/Yaml.php‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,10 @@ class Yaml
2929
constDUMP_OBJECT_AS_MAP =64;
3030
constDUMP_MULTI_LINE_LITERAL_BLOCK =128;
3131
constPARSE_CONSTANT =256;
32+
constPARSE_CUSTOM_TAGS =512;
3233
constDUMP_EMPTY_ARRAY_AS_SEQUENCE =1024;
3334
constPARSE_KEYS_AS_STRINGS =2048;
3435

35-
/**
36-
* @experimental in version 3.3
37-
*/
38-
constPARSE_CUSTOM_TAGS =512;
39-
4036
/**
4137
* Parses YAML into a PHP value.
4238
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp