19 lines
310 B
PHP
19 lines
310 B
PHP
|
<?php
|
||
|
|
||
|
namespace Symfony\Component\DependencyInjection\Tests\Fixtures;
|
||
|
|
||
|
class FooClassWithEnumAttribute
|
||
|
{
|
||
|
private FooUnitEnum $bar;
|
||
|
|
||
|
public function __construct(FooUnitEnum $bar)
|
||
|
{
|
||
|
$this->bar = $bar;
|
||
|
}
|
||
|
|
||
|
public function getBar(): FooUnitEnum
|
||
|
{
|
||
|
return $this->bar;
|
||
|
}
|
||
|
}
|