public function validate(string $key, array $scope = [], array $input = []): void
    {
        $value = $key == '*' ? '*' : $scope[$key] ?? null;

        ($this->validate)($value, $key, $scope, $input);
    }
public function validate(string $key, array $scope = [], array $input = []): void
    {
        $value = $key == '*' ? '*' : $scope[$key] ?? null;

        ($this->validate)($value, $key, $scope, $input);
    }
public function validate ( string $ key , array $ scope = [ ] , array $ input = [ ] ) : void { $ value = $ key == '*' ? '*' : $ scope [ $ key ] ?? null ; ( $ this -> validate ) ( $ value , $ key , $ scope , $ input ) ; }
Execute the validate callable. Inject the value to validate, the key to
validate within the injected scope and the whole input.

@return void
Execute the validate callable . Inject the value to validate the key to validate within the injected scope and the whole input .