File "EnumConsumer.php"

Full Path: /var/www/html/back/vendor/phpdocumentor/reflection/tests/integration/data/Enums/EnumConsumer.php
File size: 235 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

declare(strict_types=1);

namespace MyNamespace;

class EnumConsumer
{
    public MyEnum $myEnum = MyEnum::VALUE1;

    public function consume(MyEnum $enum = MyEnum::VALUE1): MyEnum
    {
        $this->myEnum = $enum;
    }
}