/** * Validates given variable against already registered tests referenced by * array of their aliases. * * @param mixed $value * @param string[] $tests * * @return bool */ public function isValid($value, array $tests) { return $this->strategy->isValid($this->types, $value, $tests); }