for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Apie\UuidPlugin;
use Apie\Core\PluginInterfaces\NormalizerProviderInterface;
use Apie\Core\PluginInterfaces\SchemaProviderInterface;
use Apie\OpenapiSchema\Factories\SchemaFactory;
use Apie\UuidPlugin\Normalizers\UuidNormalizer;
use Ramsey\Uuid\UuidInterface;
class UuidPlugin implements NormalizerProviderInterface, SchemaProviderInterface
{
/**
* {@inheritDoc}
*/
public function getNormalizers(): array
return [
new UuidNormalizer()
];
}
public function getDefinedStaticData(): array
UuidInterface::class => SchemaFactory::createStringSchema('uuid')
public function getDynamicSchemaLogic(): array
return [];