GraphQL\Utils\TypeInfo::getDirective PHP Метод

getDirective() публичный Метод

public getDirective ( ) : Directive | null
Результат GraphQL\Type\Definition\Directive | null
    function getDirective()
    {
        return $this->directive;
    }

Usage Example

Пример #1
0
 function getDirective()
 {
     return $this->_typeInfo->getDirective();
 }