Below, is a summary of all classes and their parameters's typehinting status. .
Method | Argument | Typehint | Default | |||||
class Host | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
__toString | string | |||||||
getContext | array | |||||||
getEntry | string | |||||||
getIp | string | |||||||
getDomains | array | |||||||
getLine | int | |||||||
class HostsFile | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
getSplFileObject | SplFileObject | |||||||
__destruct | ||||||||
load | void | |||||||
class Parser | ||||||||
Method | Argument | Typehint | Default | |||||
__construct | ||||||||
parse | array | |||||||
removeExtraWhitespaces | string | |||||||
isComment | bool | |||||||
countTokens | int | |||||||
isTokenParsable | bool | |||||||
parseEntry | Host |