src/Connection/Connection.php
public static function pageInfoType()
    {
        if (self::$pageInfoType === null){
            self::$pageInfoType = new ObjectType([
                'name' => 'PageInfo',
                'description' => 'Information about pagination in a connection.',
                'fields' => [
                    'hasNextPage' => [
                        'type' => Type::nonNull(Type::boolean()),
                        'description' => 'When paginating forwards, are there more items?'
                    ],
                    'hasPreviousPage' => [
                        'type' => Type::nonNull(Type::boolean()),
                        'description' => 'When paginating backwards, are there more items?'
                    ],
                    'startCursor' => [
                        'type' => Type::string(),
                        'description' => 'When paginating backwards, the cursor to continue.'
                    ],
                    'endCursor' => [
                        'type' => Type::string(),
                        'description' => 'When paginating forwards, the cursor to continue.'
                    ]
                ]
            ]);
        }
        return self::$pageInfoType;
    }
public static function pageInfoType()
    {
        if (self::$pageInfoType === null){
            self::$pageInfoType = new ObjectType([
                'name' => 'PageInfo',
                'description' => 'Information about pagination in a connection.',
                'fields' => [
                    'hasNextPage' => [
                        'type' => Type::nonNull(Type::boolean()),
                        'description' => 'When paginating forwards, are there more items?'
                    ],
                    'hasPreviousPage' => [
                        'type' => Type::nonNull(Type::boolean()),
                        'description' => 'When paginating backwards, are there more items?'
                    ],
                    'startCursor' => [
                        'type' => Type::string(),
                        'description' => 'When paginating backwards, the cursor to continue.'
                    ],
                    'endCursor' => [
                        'type' => Type::string(),
                        'description' => 'When paginating forwards, the cursor to continue.'
                    ]
                ]
            ]);
        }
        return self::$pageInfoType;
    }
public static function pageInfoType ( ) { if ( self :: $ pageInfoType === null ) { self :: $ pageInfoType = new ObjectType ( [ 'name' => 'PageInfo' , 'description' => 'Information about pagination in a connection.' , 'fields' => [ 'hasNextPage' => [ 'type' => Type :: nonNull ( Type :: boolean ( ) ) , 'description' => 'When paginating forwards, are there more items?' ] , 'hasPreviousPage' => [ 'type' => Type :: nonNull ( Type :: boolean ( ) ) , 'description' => 'When paginating backwards, are there more items?' ] , 'startCursor' => [ 'type' => Type :: string ( ) , 'description' => 'When paginating backwards, the cursor to continue.' ] , 'endCursor' => [ 'type' => Type :: string ( ) , 'description' => 'When paginating forwards, the cursor to continue.' ] ] ] ) ; } return self :: $ pageInfoType ; }
The common page info type used by all connections.

@return ObjectType
The common page info type used by all connections .