Below, is a summary of all classes and their parameters's typehinting status. .
| Method | Argument | Typehint | Default | |||||
| class Card | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| __toString | ||||||||
| getType | CardType | |||||||
| getValue | CardValue | |||||||
| class SimulateCommand | ||||||||
| Method | Argument | Typehint | Default | |||||
| configure | void | |||||||
| execute | int | |||||||
| writeScores | void | |||||||
| begin | void | |||||||
| play | void | |||||||
| writeDealtCards | void | |||||||
| class Deck | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| shuffle | void | |||||||
| count | int | |||||||
| take | array | |||||||
| class DeckFactory | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| make | Deck | |||||||
| interface DeckFactoryInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| make | Deck | |||||||
| class Game | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| distributeCards | void | |||||||
| play | Table | |||||||
| finished | bool | |||||||
| getPlayer | Player | |||||||
| getPlayers | array | |||||||
| getLoser | ?Player | |||||||
| getStartingPlayer | Player | |||||||
| class Kernel | ||||||||
| Method | Argument | Typehint | Default | |||||
| run | void | |||||||
| class Player | ||||||||
| Method | Argument | Typehint | Default | |||||
| __construct | ||||||||
| __toString | string | |||||||
| setCards | void | |||||||
| getCard | Card | |||||||
| getPoints | int | |||||||
| addPoints | void | |||||||
| hasCards | bool | |||||||
| playCard | void | |||||||
| class RandomGenerator | ||||||||
| Method | Argument | Typehint | Default | |||||
| random | int | |||||||
| interface RandomGeneratorInterface | ||||||||
| Method | Argument | Typehint | Default | |||||
| random | int | |||||||
| class Table | ||||||||
| Method | Argument | Typehint | Default | |||||
| addCard | void | |||||||
| getCards | array | |||||||
| getPoints | int | |||||||
| getLosingPlayer | Player | |||||||
| getPlayedCard | Card|? | |||||||