Using Nette\Utils\Validators instead of native PHP functions.
Using Nette\Utils\String instead of native functions.