return $this->
guess(static fn ($guesser) =>
$guesser->
guessRequired($class,
$property));
} public function guessMaxLength(string
$class, string
$property): ?ValueGuess
{ return $this->
guess(static fn ($guesser) =>
$guesser->
guessMaxLength($class,
$property));
} public function guessPattern(string
$class, string
$property): ?ValueGuess
{ return $this->
guess(static fn ($guesser) =>
$guesser->
guessPattern($class,
$property));
} /**
* Executes a closure for each guesser and returns the best guess from the
* return values.
*
* @param \Closure $closure The closure to execute. Accepts a guesser
* as argument and should return a Guess instance
*/
private function guess(\Closure
$closure): ?Guess
{