for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Hangman\Move;
use MiniGame\Move;
class Answer implements Move
{
/**
* @var string
*/
private $text;
* Constructor.
public function __construct()
}
* @return string
public function getText()
return $this->text;
* Static constructor.
*
* @param $text
* @return Answer
public static function create($text)
$obj = new self();
$obj->text = $text;
return $obj;