PHP Class GraphAware\Neo4j\Client\Formatter\RecordView

Inheritance: implements GraphAware\Common\Result\RecordViewInterface
Datei anzeigen Open project: graphaware/neo4j-php-client

Protected Properties

Property Type Description
$keys array
$values array

Public Methods

Method Description
__construct ( array $keys, array $values )
get ( string $key, mixed $defaultValue = null ) : Node | Relationship | mixed
getByIndex ( $index )
hasValue ( $key )
hasValues ( )
keys ( )
nodeValue ( string $key ) : Node Returns the Node for value $key. Ease IDE integration.
pathValue ( $key )
record ( ) : RecordView
relationshipValue ( string $key ) : Relationship
value ( string $key ) : Node | Relationship
valueByIndex ( $index )
values ( )

Method Details

__construct() public method

public __construct ( array $keys, array $values )
$keys array
$values array

get() public method

public get ( string $key, mixed $defaultValue = null ) : Node | Relationship | mixed
$key string
$defaultValue mixed
return GraphAware\Neo4j\Client\Formatter\Type\Node | GraphAware\Neo4j\Client\Formatter\Type\Relationship | mixed

getByIndex() public method

public getByIndex ( $index )

hasValue() public method

public hasValue ( $key )

hasValues() public method

public hasValues ( )

keys() public method

public keys ( )

nodeValue() public method

Returns the Node for value $key. Ease IDE integration.
public nodeValue ( string $key ) : Node
$key string
return GraphAware\Neo4j\Client\Formatter\Type\Node

pathValue() public method

public pathValue ( $key )

record() public method

public record ( ) : RecordView
return RecordView

relationshipValue() public method

public relationshipValue ( string $key ) : Relationship
$key string
return GraphAware\Neo4j\Client\Formatter\Type\Relationship

value() public method

public value ( string $key ) : Node | Relationship
$key string
return GraphAware\Neo4j\Client\Formatter\Type\Node | GraphAware\Neo4j\Client\Formatter\Type\Relationship

valueByIndex() public method

public valueByIndex ( $index )

values() public method

public values ( )

Property Details

$keys protected_oe property

protected array $keys
return array

$values protected_oe property

protected array $values
return array