for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Tinyissue package.
*
* (c) Mohamed Alsharaf <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tinyissue\Repository\Message\Queue;
use Tinyissue\Repository\Repository;
class Fetcher extends Repository
{
public function getLatestMessages()
return $this->model->with('changeBy', 'model')->orderBy('created_at', 'DESC')->orderBy('id', 'DESC')->get();
}