for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: davis
* Date: 1/22/19
* Time: 3:32 PM
*/
namespace Davispeixoto\Workflow;
use MyCLabs\Enum\Enum;
class Transition
{
* @var Enum
private $from;
private $to;
public function __construct(Enum $from, Enum $to)
$this->from = $from;
$this->to = $to;
}
* @return Enum
public function getFrom(): Enum
return $this->from;
public function getTo(): Enum
return $this->to;