for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Marek\OpenWeatherMap\API\Value\Parameter\Input;
use Marek\OpenWeatherMap\API\Value\Parameter\GetParameterInterface;
class Cluster implements GetParameterInterface
{
public const YES = 'yes';
public const NO = 'no';
/**
* @var string
*/
protected $selection;
* Cluster constructor.
*
* @param string $selection
public function __construct(string $selection = self::YES)
$this->selection = $selection;
}
* @return string
public function getSelection()
return $this->selection;
* {@inheritdoc}
public function getGetParameterValue(): string
public function getGetParameterName(): string
return 'cluster';