GraphAware\Neo4j\Client\Formatter\Result::firstRecord PHP Метод

firstRecord() публичный Метод

public firstRecord ( ) : RecordView
Результат RecordView
    public function firstRecord()
    {
        if (!empty($this->records)) {
            return $this->records[0];
        }
        throw new \RuntimeException('There is no records');
    }