PHP Class GraphQL\Utils\PairSet

显示文件 Open project: webonyx/graphql-php Class Usage Examples

Public Methods

Method Description
__construct ( ) PairSet constructor.
add ( $a, $b )
has ( $a, $b ) : null | object

Private Methods

Method Description
pairSetAdd ( $a, $b )
toObj ( $var ) : mixed

Method Details

__construct() public method

PairSet constructor.
public __construct ( )

add() public method

public add ( $a, $b )
$a
$b

has() public method

public has ( $a, $b ) : null | object
$a
$b
return null | object