GraphAware\Neo4j\Client\Formatter\Type\Relationship::__construct PHP Method

__construct() public method

public __construct ( integer $id, string $type, integer $startNodeId, integer $endNodeId, array $properties = [] )
$id integer
$type string
$startNodeId integer
$endNodeId integer
$properties array
    public function __construct($id, $type, $startNodeId, $endNodeId, array $properties = [])
    {
        $this->id = $id;
        $this->type = $type;
        $this->startNodeIdentity = $startNodeId;
        $this->endNodeIdentity = $endNodeId;
        $this->properties = $properties;
    }