Skip to content

Instantly share code, notes, and snippets.


Romain Mouillard Wharenn

  • Meero
  • Paris
View GitHub Profile
View parameterTyping.php
* When defining parameters, in what case should we:
* - add the question mark (?) before the type?
* - add the default value
* In this example `MyClass` can be replaced by any class or any scalar type (int, string, array, iterable, object...)
class Foo
Wharenn / Jenkinsfile
Created Feb 14, 2020 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
View Jenkinsfile
Some Jenkinsfile examples
Wharenn / AppExtension.php
Last active Feb 6, 2019
StringReferenceProcessor to resolve id references to others fixtures when not set in a relation
View AppExtension.php
namespace App\Bundle\DependencyInjection;
use App\Fixtures\StringReferenceProcessor;
use Sonata\ArticleBundle\Model\FragmentInterface;
use Sonata\BlockBundle\Model\BlockInterface;
use Symfony\Component\Config\FileLocator;