for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Dice;
class DiceGraphic extends Dice
{
/**
* @var string[]
*/
private array $representation = [
'⚀',
'⚁',
'⚂',
'⚃',
'⚄',
'⚅',
];
public function __construct()
parent::__construct();
}
public function getAsString(): string
return $this->representation[$this->value - 1];