for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace BestServedCold\PhalueObjects\Format;
use BestServedCold\PhalueObjects\Contract\VOArrayable;
use BestServedCold\PhalueObjects\VOString;
use BestServedCold\PhalueObjects\VOArray\Mixin as VOArrayMixin;
/**
* Class Csv
*
* @package BestServedCold\PhalueObjects\Format
*/
class Csv extends VOString implements VOArrayable
{
use VOArrayMixin;
* @param array $array
* @param string|null $space
* @return static
public static function fromArray(array $array, $space = null)
return new static(implode(',' . $space, $array));
}
private static function fromMultiArray(array $array, $space = null)
$array
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$space
* @return array
public function toArray()
return explode(',', $this->getValue());