for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Kreta package.
*
* (c) Beñat Espiña <[email protected]>
* (c) Gorka Laucirica <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Kreta\TaskManager\Application\Project\Task;
class ChangeTaskPriorityCommand
{
private $id;
private $priority;
private $editorId;
public function __construct(
string $id,
string $priority,
string $editorId
) {
$this->id = $id;
$this->priority = $priority;
$this->editorId = $editorId;
}
public function id() : string
return $this->id;
public function priority() : string
return $this->priority;
public function editorId() : string
return $this->editorId;