Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EloneSampaio/91371a7e4475d3f42d5ebceeeb23df61 to your computer and use it in GitHub Desktop.
Save EloneSampaio/91371a7e4475d3f42d5ebceeeb23df61 to your computer and use it in GitHub Desktop.
<?php
namespace App\Repository;
use App\Entity\Cargo;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Symfony\Bridge\Doctrine\RegistryInterface;
class CargoRepository extends ServiceEntityRepository
{
public function __construct(RegistryInterface $registry)
{
parent::__construct($registry, Cargo::class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment