.
This commit is contained in:
commit
a5ce423afe
30 changed files with 1807 additions and 0 deletions
26
tests/Classes/ModifyingClass.php
Normal file
26
tests/Classes/ModifyingClass.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Classes;
|
||||
|
||||
use Tests\Aspects\ModifyingAspect;
|
||||
|
||||
class ModifyingClass
|
||||
{
|
||||
#[ModifyingAspect]
|
||||
public function getValue(): int
|
||||
{
|
||||
return 42;
|
||||
}
|
||||
|
||||
#[ModifyingAspect]
|
||||
public function getString(): string
|
||||
{
|
||||
return 'original';
|
||||
}
|
||||
|
||||
#[ModifyingAspect]
|
||||
public function getArray(): array
|
||||
{
|
||||
return ['key' => 'value'];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue