GraphAware\Neo4j\Client\Formatter\RecordView::pathValue PHP Method

pathValue() public method

public pathValue ( $key )
    public function pathValue($key)
    {
        if (!$this->hasValue($key) || !$this->value($key) instanceof Path) {
            throw new \InvalidArgumentException(sprintf('value for %s is not of type %s', $key, Path::class));
        }
        return $this->value($key);
    }