for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: tamaskovacs
* Date: 2017. 01. 14.
* Time: 16:11
*/
namespace Callisto;
* Class BaseFilter
* @package Callisto
abstract class RequestParameter
{
* @var string
protected $key;
* @var array
protected $value;
* BaseFilter constructor.
* @param array $value
public function __construct($value)
$this->value = $value;
}
* @return string
public function getKey() : string
return $this->key;
public function getValue() : string
if (is_array($this->value)) {
return implode(',', $this->value);
return $this->value;