Skip to content

Instantly share code, notes, and snippets.

View gnoesiboe's full-sized avatar

Gijs Nieuwenhuis gnoesiboe

  • Freshheads
  • Tilburg, Netherlands
View GitHub Profile
@gnoesiboe
gnoesiboe / AbstractEnum.php
Last active July 12, 2021 11:53
[Enum] #utility #valueobject
<?php
declare(strict_types=1);
namespace App\Domain\ValueObject;
use DomainException;
use ReflectionClass;
use ReflectionException;
use UnexpectedValueException;