GraphQL\Utils\TypeInfo::getArgument PHP Method

getArgument() public method

public getArgument ( ) : FieldArgument | null
return GraphQL\Type\Definition\FieldArgument | null
    function getArgument()
    {
        return $this->argument;
    }

Usage Example

 function getArgument()
 {
     return $this->_typeInfo->getArgument();
 }