repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/PrototypeAsAlias/WithAsAliasDevEnv.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/PrototypeAsAlias/WithAsAliasDevEnv.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\PrototypeAsAlias; use Symfony\Component\DependencyInjection\Attribute\AsAlias; #[AsAlias(id: AliasFooInterface::class, when: 'dev')] class WithAsAliasDevEnv { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/PrototypeAsAlias/WithAsAliasIdMultipleInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/PrototypeAsAlias/WithAsAliasIdMultipleInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\PrototypeAsAlias; use Symfony\Component\DependencyInjection\Attribute\AsAlias; #[AsAlias(id: AliasBarInterface::class)] class WithAsAliasIdMultipleInterface implements AliasFooInterface, AliasBarInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/PrototypeAsAlias/WithAsAliasInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/PrototypeAsAlias/WithAsAliasInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\PrototypeAsAlias; use Symfony\Component\DependencyInjection\Attribute\AsAlias; #[AsAlias] class WithAsAliasInterface implements AliasFooInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/InvalidConfig/Configuration.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/InvalidConfig/Configuration.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Extension\InvalidConfig; class Configuration { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/InvalidConfig/InvalidConfigExtension.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/InvalidConfig/InvalidConfigExtension.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Extension\InvalidConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\Extension as BaseExtension; class InvalidConfigExtension extends BaseExtension { public function load(array...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/SemiValidConfig/SemiValidConfigExtension.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/SemiValidConfig/SemiValidConfigExtension.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Extension\SemiValidConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\Extension as BaseExtension; class SemiValidConfigExtension extends BaseExtension { public function load(a...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/SemiValidConfig/Configuration.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/SemiValidConfig/Configuration.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Extension\SemiValidConfig; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; class Configuration implements ConfigurationInterface { public function __construct($require...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/ValidConfig/Configuration.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/ValidConfig/Configuration.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Extension\ValidConfig; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; class Configuration implements ConfigurationInterface { public function getConfigTreeBuilder(): ...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/ValidConfig/ValidConfigExtension.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Extension/ValidConfig/ValidConfigExtension.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Extension\ValidConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\Extension as BaseExtension; class ValidConfigExtension extends BaseExtension { public function __construct($o...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/NoConstructorContainer.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/NoConstructorContainer.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Container; use Symfony\Component\DependencyInjection\Container; class NoConstructorContainer extends Container { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithoutArgumentsContainer.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithoutArgumentsContainer.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Container; class ConstructorWithoutArgumentsContainer { public function __construct() { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithOptionalArgumentsContainer.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithOptionalArgumentsContainer.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Container; class ConstructorWithOptionalArgumentsContainer { public function __construct($optionalArgument = 'foo') { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithMandatoryArgumentsContainer.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Container/ConstructorWithMandatoryArgumentsContainer.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Container; class ConstructorWithMandatoryArgumentsContainer { public function __construct($mandatoryArgument) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/directory/simple.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/directory/simple.php
<?php $container->setParameter('php', 'php');
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Utils/NotAService.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Utils/NotAService.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Utils; use Symfony\Component\DependencyInjection\Attribute\Exclude; #[Exclude] class NotAService { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/FooInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/FooInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype; use Symfony\Component\DependencyInjection\Attribute\Autoconfigure; #[Autoconfigure(tags: ['foo'])] interface FooInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Foo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Foo.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype; use Symfony\Component\DependencyInjection\Attribute\When; #[ProductionOnly] #[When(env: 'dev')] class Foo implements FooInterface, Sub\BarInterface { public function __construct($bar = null, ?iterable $foo = null, ?object $baz = null...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/AbstractClass.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/AbstractClass.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype; abstract class AbstractClass { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/NotFoo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/NotFoo.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype; use Symfony\Component\DependencyInjection\Attribute\WhenNot; #[NeverInProduction] #[WhenNot(env: 'dev')] class NotFoo { public function __construct($bar = null, ?iterable $foo = null, ?object $baz = null) { } public func...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/BarInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/BarInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Sub; interface BarInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/Bar.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/Sub/Bar.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Sub; class Bar implements BarInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadClasses/MissingParent.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadClasses/MissingParent.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\BadClasses; class MissingParent extends MissingClass { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/SinglyImplementedInterface/Port/PortInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/SinglyImplementedInterface/Port/PortInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\SinglyImplementedInterface\Port; interface PortInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/SinglyImplementedInterface/AnotherAdapter/Adapter.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/SinglyImplementedInterface/AnotherAdapter/Adapter.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\SinglyImplementedInterface\AnotherAdapter; use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\SinglyImplementedInterface\Port\PortInterface; class Adapter implements PortInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/SinglyImplementedInterface/Adapter/Adapter.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/SinglyImplementedInterface/Adapter/Adapter.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\SinglyImplementedInterface\Adapter; use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\SinglyImplementedInterface\Port\PortInterface; class Adapter implements PortInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadAttributes/WhenNotWhenFoo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadAttributes/WhenNotWhenFoo.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\BadAttributes; use Symfony\Component\DependencyInjection\Attribute\WhenNot; use Symfony\Component\DependencyInjection\Attribute\When; #[When(env: 'dev')] #[WhenNot(env: 'test')] class WhenNotWhenFoo { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Baz.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Baz.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir; class Baz { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component1/Dir2/Service2.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component1/Dir2/Service2.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2; class Service2 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component1/Dir1/Service1.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component1/Dir1/Service1.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1; class Service1 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/AnotherSub/DeeperBaz.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/AnotherSub/DeeperBaz.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\AnotherSub; class DeeperBaz { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component2/Dir2/Service5.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component2/Dir2/Service5.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component2\Dir2; class Service5 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component2/Dir1/Service4.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/OtherDir/Component2/Dir1/Service4.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component2\Dir1; class Service4 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/StaticConstructor/PrototypeStaticConstructorAsArgument.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/StaticConstructor/PrototypeStaticConstructorAsArgument.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\StaticConstructor; class PrototypeStaticConstructorAsArgument { public function __construct(private PrototypeStaticConstructor $prototypeStaticConstructor) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/StaticConstructor/PrototypeStaticConstructor.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/StaticConstructor/PrototypeStaticConstructor.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\StaticConstructor; class PrototypeStaticConstructor implements PrototypeStaticConstructorInterface { private function __construct() { } public static function create(): static { return new self(); } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/StaticConstructor/PrototypeStaticConstructorInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/StaticConstructor/PrototypeStaticConstructorInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\StaticConstructor; interface PrototypeStaticConstructorInterface { public static function create(): static; }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/intersectiontype_classes.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/intersectiontype_classes.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Compiler; interface AnotherInterface { } class IntersectionClasses { public function __construct(CollisionInterface&AnotherInterface $collision) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/AcmeExtension.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/AcmeExtension.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; class AcmeExtension implements ExtensionInterface { public function load(array $configs, ContainerBuilder $configuration): void { $configuration->setParameter('acme...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes_80.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Compiler; use Symfony\Component\DependencyInjection\Attribute\AsDecorator; use Symfony\Component\DependencyInjection\Attribute\Autowire; use Symfony\Component\DependencyInjection\Attribute\AutowireDecorated; use Symfony\Component\DependencyInjection\Attribut...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/fixture_app_services.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/fixture_app_services.php
<?php namespace App; class BarService { } class Db { public Schema $schema; } class Bus { public Handler1 $handler1; public Handler2 $handler2; public function __construct(public Db $db) { } } class Handler1 { public function __construct( public Db $db, public Schema $s...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo.php
<?php namespace Bar; class FooClass { public $qux; public $foo; public $moo; public $otherInstances; public $bar = null; public $initialized = false; public $configured = false; public $called = false; public $arguments = []; public function __construct($arguments = []) {...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo_lazy.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/foo_lazy.php
<?php namespace Bar; class FooLazyClass { public int $foo = 0; }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/compositetype_classes.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/compositetype_classes.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Compiler; interface YetAnotherInterface { } class CompositeTypeClasses { public function __construct((CollisionInterface&AnotherInterface)|YetAnotherInterface $collision) { } } class NullableIntersection { public function __construct((Colli...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/classes.php
<?php use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface; function sc_configure($instance) { $instance->configure(); } class BarClass extends BazClass { protected $baz; public $foo = 'foo'; public function setBaz(BazCla...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Compiler; use Psr\Container\ContainerInterface; use Psr\Log\LoggerInterface; use Symfony\Component\DependencyInjection\Attribute\Autowire; use Symfony\Component\DependencyInjection\Attribute\AutowireCallable; use Symfony\Contracts\Service\Attribute\Required;...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectExtension.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/ProjectExtension.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; class ProjectExtension implements ExtensionInterface { public function load(array $configs, ContainerBuilder $configuration): void { $configuration->setParameter('p...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/FooVariadic.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/FooVariadic.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes; use Symfony\Component\DependencyInjection\Tests\Compiler\Foo; class FooVariadic { public function __construct(Foo $foo) { } public function bar(...$arguments) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/uniontype_classes.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/uniontype_classes.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Compiler; class UnionScalars { public function __construct(int|float $timeout) { } } class UnionClasses { public function __construct(CollisionA|CollisionB $collision) { } } class UnionNull { public function __construct(Collisio...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/MultipleArgumentsOptionalScalarNotReallyOptional.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/MultipleArgumentsOptionalScalarNotReallyOptional.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes; use Symfony\Component\DependencyInjection\Tests\Compiler\A; use Symfony\Component\DependencyInjection\Tests\Compiler\Lille; class MultipleArgumentsOptionalScalarNotReallyOptional { public function __construct(A $a, $foo = 'default_val...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/I1.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/I1.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; interface I1 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/T1.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/T1.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; trait T1 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/C1.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/C1.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; class C1 extends P1 { use T1; }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/C3.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/C3.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; class C3 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/C2.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/C2.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; class C2 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/P1.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/includes/HotPath/P1.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; class P1 implements I1 { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/UnionConstructorPHP82.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/UnionConstructorPHP82.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class UnionConstructorPHP82 { public static function createTrue(array|true $arg): static { return new static(0); } public static function createNull(null $arg): static { return new stat...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/FooObject.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/FooObject.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class FooObject { public function __construct(object $foo) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Foo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Foo.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class Foo { public static function createBar() { return new Bar(new \stdClass()); } public static function createBarArguments(\stdClass $stdClass, ?\stdClass $stdClassOptional = null) { ...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Bar.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Bar.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class Bar { public $foo; public function __construct(\stdClass $foo) { $this->foo = $foo; } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Wobble.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Wobble.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class Wobble { private $waldo; public function __construct(WaldoInterface $waldo) { $this->waldo = $waldo; } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarOptionalArgument.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarOptionalArgument.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class BarOptionalArgument { public $foo; public function __construct(?\stdClass $foo = null) { $this->foo = $foo; } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/IntersectionConstructor.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/IntersectionConstructor.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class IntersectionConstructor { public function __construct(Foo&WaldoInterface $arg) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarErroredDependency.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarErroredDependency.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class BarErroredDependency { public function __construct(\stdClass $foo) { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/WaldoInterface.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/WaldoInterface.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; interface WaldoInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarMethodCall.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarMethodCall.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class BarMethodCall { public $foo; public function setBar(Bar $bar) { } public function setFoo(\stdClass $foo) { $this->foo = $foo; } public function setFoosVariadic(Foo $foo, Foo...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Deprecated.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Deprecated.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; trigger_deprecation('foo/bar', '1.2.3', 'Deprecated class.'); class Deprecated { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Waldo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/Waldo.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class Waldo implements WaldoInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/WaldoFoo.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/WaldoFoo.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class WaldoFoo extends Foo implements WaldoInterface { }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/UnionConstructor.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/UnionConstructor.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class UnionConstructor { public function __construct(Foo|int $arg) { } public static function create(array|false $arg): static { return new static(0); } public static function make(mix...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarOptionalArgumentNotNull.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/CheckTypeDeclarationsPass/BarOptionalArgumentNotNull.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\CheckTypeDeclarationsPass; class BarOptionalArgumentNotNull { public $foo; public function __construct(int $foo = 1) { $this->foo = $foo; } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomPropertyAttribute.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomPropertyAttribute.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Attribute; #[\Attr...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomMethodAttribute.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomMethodAttribute.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Attribute; #[\Attr...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomAutoconfiguration.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomAutoconfiguration.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Attribute; #[\Attr...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomParameterAttribute.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomParameterAttribute.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Attribute; #[\Attr...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomChildAttribute.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomChildAttribute.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Attribute; #[\Attr...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomAnyAttribute.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/Attribute/CustomAnyAttribute.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Attribute; #[\Attr...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container8.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container8.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; $container = new ContainerBuilder(new ParameterBag([ 'foo' => '%baz%', 'baz' => 'bar', 'bar' => 'foo is %%foo bar', 'escape' => '@escapeme', 'values' => [true, fal...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_inline_requires.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_inline_requires.php
<?php namespace Symfony\Tests\InlineRequires; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\DependencyInjection\Tests\Fixtures\includes\HotPath; use Symfony\Component\DependencyInjection\Tests\Fixtures\ParentNotExists; $containe...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_abstract.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_abstract.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', 'Foo') ->setAbstract(true) ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/CustomContainer.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/CustomContainer.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\containers; use Symfony\Component\DependencyInjection\Container; class CustomContainer extends Container { public function getBarService() { } public function getFoobarService() { } }
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container34.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container34.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerInterface; $container = new ContainerBuilder(); $container ->register('decorator') ->setDecoratedService('decorated', 'decorated.inner', 1, ContainerInterface::NULL_ON_INVALID_REFERENCE) ; ret...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container13.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container13.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; $container = new ContainerBuilder(); $container-> register('foo', 'FooClass')-> addArgument(new Reference('bar')) ->setPublic(true) ; $container-> register('bar', 'BarClass') ->se...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container33.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container33.php
<?php namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Container33; use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container->register('Foo\Foo', \Foo\Foo::class)->setPublic(true); $container->register('Bar\Foo', \Bar\Foo::class)->setPublic(true); re...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_uninitialized_ref.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_uninitialized_ref.php
<?php use Symfony\Component\DependencyInjection\Argument\IteratorArgument; use Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; $container = new ContainerBuilder(); $container ->...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_env_in_id.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_env_in_id.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; $container = new ContainerBuilder(); $container->setParameter('env(BAR)', 'bar'); $container->register('foo', 'stdClass')->setPublic(true) ->addArgument(new Reference('bar_%env(BAR)%')) ->add...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container10.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container10.php
<?php require_once __DIR__.'/../includes/classes.php'; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; $container = new ContainerBuilder(); $container-> register('foo', 'FooClass')-> addArgument(new Reference('bar')) ->setPublic(true) ; re...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_nonempty_parameters.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_nonempty_parameters.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Parameter; $container = new ContainerBuilder(); $container->parameterCannotBeEmpty('bar', 'Did you forget to configure the "foo.bar" option?'); $container->register('foo', 'stdClass') ->setArguments([new Pa...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container14.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container14.php
<?php namespace Container14; use Symfony\Component\DependencyInjection\ContainerBuilder; /* * This file is included in Tests\Dumper\GraphvizDumperTest::testDumpWithFrozenCustomClassContainer * and Tests\Dumper\XmlDumperTest::testCompiledContainerCanBeDumped. */ if (!class_exists(\Container14\ProjectServiceContain...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container11.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container11.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; $container = new ContainerBuilder(); $container-> register('foo', 'FooClass')-> addArgument(new Definition('BarClass', [new Definition('BazClass')])) ->setPublic(true) ; return $contain...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_almost_circular.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_almost_circular.php
<?php use Symfony\Component\DependencyInjection\Argument\IteratorArgument; use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; use Symfony\Component\DependencyInjection\Reference; us...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container9.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container9.php
<?php require_once __DIR__.'/../includes/classes.php'; require_once __DIR__.'/../includes/foo.php'; use Bar\FooClass; use Symfony\Component\DependencyInjection\Argument\IteratorArgument; use Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; use Symfony\Component\DependencyInjection\ContainerBuild...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_deprecated_parameters.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_deprecated_parameters.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container->setParameter('foo_class', 'FooClass\\Foo'); $container->deprecateParameter('foo_class', 'symfony/test', '6.3'); $container->register('foo', '%foo_class%') ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_service_locator_argument.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_service_locator_argument.php
<?php use Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; $container = new ContainerBuilder(); $container ->register('foo1', 'stdClass') ->setPublic(true) ; $container ...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container24.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container24.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', 'Foo') ->setAutowired(true) ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container12.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container12.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container-> register('foo', 'FooClass\\Foo')-> addArgument('foo<>&bar')-> addTag('foo"bar\\bar', ['foo' => 'foo"barřž€']) ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container16.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container16.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', 'FooClass\\Foo') ->setDecoratedService('bar') ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container17.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container17.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', '%foo.class%') ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container19.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container19.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; require_once __DIR__.'/../includes/classes.php'; $container = new ContainerBuilder(); $container->setParameter('env(FOO)', 'Bar\FaooClass'); $container->setParameter('foo', '%env(FOO)%'); $contai...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_non_scalar_tags.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container_non_scalar_tags.php
<?php require_once __DIR__.'/../includes/classes.php'; require_once __DIR__.'/../includes/foo.php'; use Bar\FooClass; use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', FooClass::class) ->addTag('foo_tag', [ 'name' => 'attribu...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container21.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container21.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Definition; $container = new ContainerBuilder(); $bar = new Definition('Bar'); $bar->setConfigurator([new Definition('Baz'), 'configureBar']); $fooFactory = new Definition('FooFactory'); $fooFactory->setFacto...
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false
symfony/symfony
https://github.com/symfony/symfony/blob/9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8/src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container15.php
src/Symfony/Component/DependencyInjection/Tests/Fixtures/containers/container15.php
<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', 'FooClass\\Foo') ->setDecoratedService('bar', 'bar.woozy') ->setPublic(true) ; return $container;
php
MIT
9eb3243dd3c2b40347ed54c80e64d23eda1ac7d8
2026-01-04T15:02:34.231510Z
false