Skip to content

Instantly share code, notes, and snippets.

Raul Fraile raulfraile

Block or report user

Report or block raulfraile

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5607655
namespace Psr\Log;
* Describes a logger instance
interface LoggerInterface
View gist:4569112
En estos momentos no podemos atenderle. Por favor vuelva a intentarlo pasado unos minutos. Disculpe las molestias.
raulfraile / gist:4216565
Created Dec 5, 2012
Ladybug expanded by default
View gist:4216565
expanded: true
raulfraile / composer_platform.txt
Created Nov 9, 2012
composer show --platform
View composer_platform.txt
$ composer show --platform
ext-apc [3.1.9] : The apc PHP extension
ext-bcmath [0] : The bcmath PHP extension
ext-bz2 [0] : The bz2 PHP extension
ext-ctype [0] : The ctype PHP extension
ext-curl [0] : The curl PHP extension
ext-date [5.3.15] : The date PHP extension
ext-dom [20031129] : The dom PHP extension
ext-ereg [0] : The ereg PHP extension
View gist:2635353
$loader = new Twig_Loader_Filesystem('.'); // folder where templates are located
raulfraile / gist:2585123
Created May 3, 2012
LiipFunctionalTestBundle ODM fixtures
View gist:2585123
Doctrine\ORM\Mapping\MappingException: Class Tueddy\TueddyBundle\Document\TimelineEvent is not a valid entity or mapped super class.
raulfraile / gist:2378458
Created Apr 13, 2012
FOSRestBundle new branch
View gist:2378458
PHP Fatal error: Declaration of FOS\RestBundle\Routing\Loader\RestRouteLoader::setResolver() must be compatible with that of Symfony\Component\Config\Loader\LoaderInterface::setResolver() in [...]/symfony/vendor/bundles/FOS/RestBundle/Routing/Loader/RestRouteLoader.php on line 24
View gist:1893666
* @ORM\OneToMany(targetEntity="Hija", mappedBy="padre", cascade={"persist", "remove"})
private $hijas;
View gist:1887983
* @var Padre
* @ORM\ManyToOne(targetEntity="Padre")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="padre_id", referencedColumnName="id")
* })
private $padre;
raulfraile / gist:1887653
Created Feb 22, 2012
Colecciones en formularios de Symfony
View gist:1887653
/* Form hijo */
namespace Acme\Bundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
class HijoType extends AbstractType
You can’t perform that action at this time.