for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Translation\PlatformAdapter\Loco\Model;
/**
* Represents a project from loco
*/
final class LocoProject
{
* @var string
private $name;
private $apiKey;
private $indexParameter;
* @param string $name
* @param array $config
public function __construct(string $name, array $config)
$this->name = $name;
$this->apiKey = $config['api_key'];
$this->indexParameter = $config['index_parameter'];
}
* @return string
public function getName()
return $this->name;
* @return string|null
public function getApiKey()
return $this->apiKey;
public function getIndexParameter()
return $this->indexParameter;