| Total Complexity | 9 | 
| Total Lines | 54 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 8 | class CustomSet implements SetContract | ||
| 9 | { | ||
| 10 | private $words = []; | ||
| 11 | private $phrases = []; | ||
| 12 | |||
| 13 | /** | ||
| 14 | * @return array | ||
| 15 | */ | ||
| 16 | public function getWords() : array | ||
| 17 |     { | ||
| 18 | return $this->words; | ||
| 19 | } | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @param array $words | ||
| 23 | * @throws BadDictException | ||
| 24 | */ | ||
| 25 | public function setWords(array $words) : void | ||
| 29 | } | ||
| 30 | |||
| 31 | /** | ||
| 32 | * @return array | ||
| 33 | */ | ||
| 34 | public function getPhrases() : array | ||
| 37 | } | ||
| 38 | |||
| 39 | /** | ||
| 40 | * @param array $phrases | ||
| 41 | * @throws BadDictException | ||
| 42 | */ | ||
| 43 | public function setPhrases(array $phrases) : void | ||
| 47 | } | ||
| 48 | |||
| 49 | /** | ||
| 50 | * @param array $dict | ||
| 51 | * @throws BadDictException | ||
| 52 | */ | ||
| 53 | private function checkDict(array $dict) | ||
| 66 | } |