This file contains hidden or 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
<?php | |
declare(strict_types=1); | |
namespace App\Infrastructure\Hdrtr; | |
use Typhoon\DeclarationId\AliasId; | |
use Typhoon\DeclarationId\ClassId; | |
use Typhoon\DeclarationId\ConstantId; | |
use Typhoon\DeclarationId\NamedClassId; |
This file contains hidden or 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
<?php | |
declare(strict_types=1); | |
namespace App\Infrastructure\Hdrtr; | |
use Typhoon\Reflection\TyphoonReflector; | |
use Typhoon\Type\Argument; | |
use Typhoon\Type\AtClass; | |
use Typhoon\Type\AtFunction; |
This file contains hidden or 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
<?php | |
function enumByName(string $enumClass, string $case): object { | |
return (new \ReflectionEnum($enumClass))->getCase($case)->getValue(); | |
} |
This file contains hidden or 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
version: '3' | |
services: | |
publisher_app: | |
image: nginx | |
ports: | |
- "8080-8081:80" | |
environment: | |
server.port: 8080 | |
deploy: | |
mode: replicated |