src/StateMachine/Traits/Describing.php
<?php
/**
* Finite State Machine
*
* @author Ashley Kitson
* @copyright Ashley Kitson, 2019, UK
* @license BSD 3 Clause See LICENSE.md
*/
namespace Chippyash\StateMachine\Traits;
/**
* Trait Describing
*
* Implements the Describable Interface
*/
trait Describing
{
/**
* @var string
*/
private $name;
/**
* @var string
*/
private $description;
/**
* @return string
*/
final public function getName(): string
{
return $this->name;
}
/**
* @return string
*/
final public function getDescription(): string
{
return $this->description;
}
}