for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Flipbox\Relay\HubSpot\Segment\Contacts;
use Flipbox\Relay\HubSpot\Middleware\Contacts\Create as ContactCreateMiddleware;
use Flipbox\Relay\HubSpot\Middleware\Client;
use Flipbox\Relay\Segments\AbstractSegment;
class Create extends AbstractSegment
{
/**
* @var string
*/
public $properties;
* @return array
protected function defaultSegments(): array
return [
'uri' => [
'class' => ContactCreateMiddleware::class,
'properties' => $this->properties,
'logger' => $this->getLogger()
],
'client' => [
'class' => Client::class,
]
];
}