Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #32432 [DependencyInjection] Added tests to cover the possibili…
…ty of having scalars as services (derrabus) This PR was merged into the 3.4 branch. Discussion ---------- [DependencyInjection] Added tests to cover the possibility of having scalars as services | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32411 | License | MIT | Doc PR | N/A Commits ------- 60939d9 Added tests to cover the possibility of having scalars as services.
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 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
14 changes: 14 additions & 0 deletions
14
src/Symfony/Component/DependencyInjection/Tests/Fixtures/ScalarFactory.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,14 @@ | ||
<?php | ||
|
||
namespace Symfony\Component\DependencyInjection\Tests\Fixtures; | ||
|
||
final class ScalarFactory | ||
{ | ||
/** | ||
* @return string | ||
*/ | ||
public static function getSomeValue() | ||
{ | ||
return 'some value'; | ||
} | ||
} |