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();
 }