App\Data\Repositories\Repository::count PHP Method

count() public method

Returns the count of all the records.
public count ( ) : integer
return integer
    public function count()
    {
        return $this->model->count();
    }