Elastica\Result::__get PHP Метод

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

Returns null if key does not exist
public __get ( string $key ) : mixed
$key string Key name
Результат mixed Key value
    public function __get($key)
    {
        $source = $this->getData();
        return array_key_exists($key, $source) ? $source[$key] : null;
    }