-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve parameters in attributes & annotations
- Loading branch information
Showing
7 changed files
with
157 additions
and
13 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
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
17 changes: 17 additions & 0 deletions
17
tests/ConfigurationProvider/Fixtures/DummyLoggableOutputWithAnnotationAndParam.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,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bizkit\LoggableCommandBundle\Tests\ConfigurationProvider\Fixtures; | ||
|
||
use Bizkit\LoggableCommandBundle\ConfigurationProvider\Attribute\LoggableOutput; | ||
use Bizkit\LoggableCommandBundle\LoggableOutput\LoggableOutputInterface; | ||
use Bizkit\LoggableCommandBundle\LoggableOutput\LoggableOutputTrait; | ||
|
||
/** | ||
* @LoggableOutput(filename="annotation-test", path="%kernel.logs_dir%/messenger/{filename}.log") | ||
*/ | ||
final class DummyLoggableOutputWithAnnotationAndParam implements LoggableOutputInterface | ||
{ | ||
use LoggableOutputTrait; | ||
} |
15 changes: 15 additions & 0 deletions
15
tests/ConfigurationProvider/Fixtures/DummyLoggableOutputWithAttributeAndParam.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,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Bizkit\LoggableCommandBundle\Tests\ConfigurationProvider\Fixtures; | ||
|
||
use Bizkit\LoggableCommandBundle\ConfigurationProvider\Attribute\LoggableOutput; | ||
use Bizkit\LoggableCommandBundle\LoggableOutput\LoggableOutputInterface; | ||
use Bizkit\LoggableCommandBundle\LoggableOutput\LoggableOutputTrait; | ||
|
||
#[LoggableOutput(filename: 'attribute-test', path: '%kernel.logs_dir%/messenger/{filename}.log')] | ||
final class DummyLoggableOutputWithAttributeAndParam implements LoggableOutputInterface | ||
{ | ||
use LoggableOutputTrait; | ||
} |