public function value($key) { $first = $this->first(); if (!$first) { return false; } return isset($first->{$key}) ? $first->{$key} : false; }