src/Eloquent/Repository.php
public function max($column)
    {
        $result = $this->getBuilder()->max($column);

        // Reset query builder
        $this->resetBuilder();

        return $result;
    }
public function max($column)
    {
        $result = $this->getBuilder()->max($column);

        // Reset query builder
        $this->resetBuilder();

        return $result;
    }
public function max ( $ column ) { $ result = $ this -> getBuilder ( ) -> max ( $ column ) ; // Reset query builder $ this -> resetBuilder ( ) ; return $ result ; }
Retrieve the maximum value of a given column.

@author Morten Rugaard <moru@nodes.dk>

@param  string $column
@return float|int
Retrieve the maximum value of a given column .