for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Formularium;
/**
* Allowed arguments
*/
final class MetadataParameter
{
* @var string
public $name;
public $type;
public $comment;
public function __construct(string $name, string $type, string $comment)
$this->name = $name;
$this->type = $type;
$this->comment = $comment;
}
public function toMarkdown(): string
return <<<EOF
### {$this->name} ({$this->type})
{$this->comment}
EOF;
public function toGraphql(): string
"""
{$this->name}: {$this->type}