메소드 | 설명 | |
---|---|---|
connectionFromArray ( array $data, array $args = [] ) | ||
connectionFromArraySlice ( array $data, array $args, $sliceStart, $arrayLength ) | ||
cursorForObjectInConnection ( $data, $object ) | ||
cursorToOffset ( $cursor ) : integer | null | ||
cursorToOffsetWithDefault ( $cursor, $default ) | ||
edgeForObjectWithIndex ( $object, $index ) | ||
offsetToCursor ( $offset ) : string |
public static connectionFromArray ( array $data, array $args = [] ) | ||
$data | array | |
$args | array |
public static connectionFromArraySlice ( array $data, array $args, $sliceStart, $arrayLength ) | ||
$data | array | |
$args | array |
public static cursorForObjectInConnection ( $data, $object ) |
public static cursorToOffset ( $cursor ) : integer | null | ||
$cursor | string | |
리턴 | integer | null |
public static cursorToOffsetWithDefault ( $cursor, $default ) |