private function validateArgumentExistence(FieldDefinition $interface, FieldDefinition $object): void
    {
        foreach ($interface->getArguments() as $argument) {
            $this->getCallStack()->push($argument);

            $exists = $object->hasArgument($argument->getName());
            if (! $exists) {
                $this->throwArgumentNotDefined($interface, $object, $argument);
            }

            $this->validateArgumentCompatibility($argument, $object->getArgument($argument->getName()));

            $this->getCallStack()->pop();
        }
    }
private function validateArgumentExistence(FieldDefinition $interface, FieldDefinition $object): void
    {
        foreach ($interface->getArguments() as $argument) {
            $this->getCallStack()->push($argument);

            $exists = $object->hasArgument($argument->getName());
            if (! $exists) {
                $this->throwArgumentNotDefined($interface, $object, $argument);
            }

            $this->validateArgumentCompatibility($argument, $object->getArgument($argument->getName()));

            $this->getCallStack()->pop();
        }
    }
private function validateArgumentExistence ( FieldDefinition $ interface , FieldDefinition $ object ) : void { foreach ( $ interface -> getArguments ( ) as $ argument ) { $ this -> getCallStack ( ) -> push ( $ argument ) ; $ exists = $ object -> hasArgument ( $ argument -> getName ( ) ) ; if ( ! $ exists ) { $ this -> throwArgumentNotDefined ( $ interface , $ object , $ argument ) ; } $ this -> validateArgumentCompatibility ( $ argument , $ object -> getArgument ( $ argument -> getName ( ) ) ) ; $ this -> getCallStack ( ) -> pop ( ) ; } }
We are convinced that all the arguments of the parent fields were implemented in the child.

@param FieldDefinition $interface
@param FieldDefinition $object
@return void
@throws TypeConflictException
@throws \OutOfBoundsException
We are convinced that all the arguments of the parent fields were implemented in the child .