for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hiapi\endpoints\Module\NamedEndpoint;
use hiapi\endpoints\EndpointConfigurationInterface;
trait NamedEndpointBuilderTrait
{
/**
* @var string
*/
protected $name;
public function name(string $name)
$this->name = $name;
return $this;
}
protected function buildName(EndpointConfigurationInterface $configuration)
$configuration->set('name', $this->name);