for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ByTIC\MediaLibrary\Conversions\Manipulations;
/**
* Class Manipulation.
*/
class Manipulation
{
* @var string
protected $name;
* @var array
protected $attributes = [];
* Manipulation constructor.
*
* @param string $name
* @param array $attributes
public function __construct($name, ...$attributes)
$this->name = $name;
$this->attributes = $attributes;
}
* @param $name
* @param array ...$atributes
* @return Manipulation
public static function create($name, ...$atributes)
return new self($name, ...$atributes);
* @return string
public function getName(): string
return $this->name;
public function setName(string $name)
* @return array
public function getAttributes(): array
return $this->attributes;
public function setAttributes(array $attributes)