Skip to content

Instantly share code, notes, and snippets.

View miguelvilata's full-sized avatar

Miguel Vilata miguelvilata

View GitHub Profile
@miguelvilata
miguelvilata / README.md
Created February 7, 2021 08:16 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@miguelvilata
miguelvilata / compiler-pass.php
Created March 16, 2020 07:07 — forked from Ocramius/compiler-pass.php
Compiler pass to declare a repository as service for each declared doctrine entity in a symfony application
<?php
final class RegisterRepositoriesForAllEntitiesPass implements CompilerPassInterface
{
/** {@inheritdoc} */
public function process(ContainerBuilder $container)
{
/** @var MappingDriver $metadata */
$metadata = $container->get($this->mappingDriverServiceName());
$entityManagerReference = new Reference('doctrine.orm.entity_manager');