Skip to content

Instantly share code, notes, and snippets.

@Invis1ble
Invis1ble / MenuBuilder.php
Last active Mar 3, 2020 — forked from nateevans/MenuBuilder.php
KNP Menu Bundle with Bootstrap 3 and Font Awesome 4 (+ fixed several bugs)
View MenuBuilder.php
<?php
namespace Acme\HelloBundle\Menu;
use Knp\Menu\FactoryInterface;
use Symfony\Component\DependencyInjection\ContainerAware;
class MenuBuilder extends ContainerAware
{
public function mainMenu(FactoryInterface $factory, array $options)
@Invis1ble
Invis1ble / TimezoneType.php
Last active Mar 25, 2017 — forked from mylk/TimezoneType.php
A modified Symfony Forms "timezone" type that also displays the timezone offset
View TimezoneType.php
<?php
/**
* A modified version of the original symfony form type that adds the timezone offset.
*
* Original version at:
* https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php
*/
/*
* Installation:
@Invis1ble
Invis1ble / rxjs-diagrams.md
Created Dec 26, 2018 — forked from PCreations/rxjs-diagrams.md
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K