| Total Complexity | 7 |
| Total Lines | 70 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | private $iterations; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var int |
||
| 20 | */ |
||
| 21 | private $species; |
||
| 22 | |||
| 23 | public function __construct(int $cells, int $species, int $iterations) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return int |
||
| 32 | */ |
||
| 33 | public function getCells(): int |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param int $cells |
||
| 40 | */ |
||
| 41 | public function setCells(int $cells) |
||
| 42 | { |
||
| 43 | $this->cells = $cells; |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return int |
||
| 48 | */ |
||
| 49 | public function getIterations(): int |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param int $iterations |
||
| 56 | */ |
||
| 57 | public function setIterations(int $iterations) |
||
| 58 | { |
||
| 59 | $this->iterations = $iterations; |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @return int |
||
| 64 | */ |
||
| 65 | public function getSpecies(): int |
||
| 66 | { |
||
| 67 | return $this->species; |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * @param int $species |
||
| 72 | */ |
||
| 73 | public function setSpecies(int $species) |
||
| 76 | } |
||
| 77 | } |