‪TYPO3CMS  9.5
ContainerConstructorInjectionTestFixtures.php
Go to the documentation of this file.
1 <?php
3 
5 {
9  public ‪$foo;
10 
14  public function ‪__construct(‪$foo = false)
15  {
16  $this->foo = ‪$foo;
17  }
18 }
19 
21 {
22 }
23 
25 {
29  public ‪$argumentTestClass;
30 
34  public ‪$allArguments;
35 
40  {
41  $this->argumentTestClass = ‪$argumentTestClass;
42  $this->allArguments = func_get_args();
43  }
44 }
45 
46 class OptionalConstructorArgument
47 {
51  public ‪$argumentTestClass;
52 
57  {
58  $this->argumentTestClass = ‪$argumentTestClass;
59  }
60 }
61 
63 {
67  public ‪$argumentTestClass;
68 
73 
79  {
80  $this->argumentTestClass = ‪$argumentTestClass;
81  $this->argumentTestClassTwo = ‪$argumentTestClassTwo;
82  }
83 }
84 
86 {
90  public ‪$argumentTestClass;
91 
96 
102  {
103  $this->argumentTestClass = ‪$argumentTestClass;
104  $this->argumentTestClassTwo = ‪$argumentTestClassTwo;
105  }
106 }
107 
109 {
113  public ‪$argumentTestClass;
114 
119 
133  {
134  $this->argumentTestClass = ‪$argumentTestClass;
135  $this->argumentTestClassTwo = ‪$argumentTestClassTwo;
136  }
137 }
138 
140 {
144  public ‪$argumentTestClass;
145 
150 
156  {
157  $this->argumentTestClass = ‪$argumentTestClass;
158  $this->argumentTestClassTwo = ‪$argumentTestClassTwo;
159  }
160 }
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgumentTwo\$argumentTestClassTwo
‪ArgumentTestClass $argumentTestClassTwo
Definition: ContainerConstructorInjectionTestFixtures.php:66
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgument
Definition: ContainerConstructorInjectionTestFixtures.php:24
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures
Definition: ContainerConstructorInjectionTestFixtures.php:2
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgument\__construct
‪__construct(ArgumentTestClass $argumentTestClass)
Definition: ContainerConstructorInjectionTestFixtures.php:36
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsFirstOptional\$argumentTestClass
‪ArgumentTestClass $argumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:104
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsBothOptional\__construct
‪__construct(ArgumentTestClass $argumentTestClass=null, ArgumentTestClass $argumentTestClassTwo=null)
Definition: ContainerConstructorInjectionTestFixtures.php:143
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsBothOptional\$argumentTestClassTwo
‪ArgumentTestClass $argumentTestClassTwo
Definition: ContainerConstructorInjectionTestFixtures.php:137
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsSecondOptional\__construct
‪__construct(ArgumentTestClass $argumentTestClass, ArgumentTestClass $argumentTestClassTwo=null)
Definition: ContainerConstructorInjectionTestFixtures.php:93
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsFirstOptional\$argumentTestClassTwo
‪ArgumentTestClass $argumentTestClassTwo
Definition: ContainerConstructorInjectionTestFixtures.php:108
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\OptionalConstructorArgument\$argumentTestClass
‪ArgumentTestClass $argumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:47
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsSecondOptional
Definition: ContainerConstructorInjectionTestFixtures.php:80
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsFirstOptional\__construct
‪__construct(ArgumentTestClass $argumentTestClass=null, ArgumentTestClass $argumentTestClassTwo)
Definition: ContainerConstructorInjectionTestFixtures.php:122
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgumentTwo\$argumentTestClass
‪ArgumentTestClass $argumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:62
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgument\$argumentTestClass
‪ArgumentTestClass $argumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:27
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\OptionalConstructorArgument\__construct
‪__construct(ArgumentTestClass $argumentTestClass=null)
Definition: ContainerConstructorInjectionTestFixtures.php:52
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgumentTwo
Definition: ContainerConstructorInjectionTestFixtures.php:59
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsSecondOptional\$argumentTestClass
‪ArgumentTestClass $argumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:83
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\SimpleTypeConstructorArgument
Definition: ContainerConstructorInjectionTestFixtures.php:5
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsBothOptional\$argumentTestClass
‪ArgumentTestClass $argumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:133
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsSecondOptional\$argumentTestClassTwo
‪ArgumentTestClass $argumentTestClassTwo
Definition: ContainerConstructorInjectionTestFixtures.php:87
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\ArgumentTestClass
Definition: ContainerConstructorInjectionTestFixtures.php:20
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgumentTwo\__construct
‪__construct(ArgumentTestClass $argumentTestClass, ArgumentTestClass $argumentTestClassTwo)
Definition: ContainerConstructorInjectionTestFixtures.php:72
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\SimpleTypeConstructorArgument\$foo
‪bool $foo
Definition: ContainerConstructorInjectionTestFixtures.php:8
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\OptionalConstructorArgument
Definition: ContainerConstructorInjectionTestFixtures.php:44
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsFirstOptional
Definition: ContainerConstructorInjectionTestFixtures.php:101
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\TwoConstructorArgumentsBothOptional
Definition: ContainerConstructorInjectionTestFixtures.php:130
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\SimpleTypeConstructorArgument\__construct
‪__construct($foo=false)
Definition: ContainerConstructorInjectionTestFixtures.php:13
‪TYPO3\CMS\Extbase\Tests\Unit\Object\Container\Fixtures\MandatoryConstructorArgument\$allArguments
‪array $allArguments
Definition: ContainerConstructorInjectionTestFixtures.php:31