for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Core;
use Illuminate\Contracts\Container\Container;
abstract class Service
{
/**
* @var Container
*/
protected $app;
* @var AbstractRepository
protected $repo;
* Service constructor.
*
* @param Container $app
* @param AbstractRepository $repo
public function __construct(Container $app, AbstractRepository $repo)
$this->app = $app;
$this->repo = $repo;
}