for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TheAentMachine\Service\Volume;
abstract class Volume implements \JsonSerializable
{
/** @var string */
protected $type;
protected $source;
/**
* Volume constructor.
* @param string $type
* @param string $source
*/
public function __construct(string $type, string $source)
$this->type = $type;
$this->source = $source;
}
* @return string
public function getType(): string
return $this->type;
public function setType(string $type): void
public function getSource(): string
return $this->source;
public function setSource(string $source): void