type validator in php based on nette framework and addon Kdyby\AOP.