Skip to content

Instantly share code, notes, and snippets.

View TiMESPLiNTER's full-sized avatar
🐘

Pascal Münst TiMESPLiNTER

🐘
View GitHub Profile
@TiMESPLiNTER
TiMESPLiNTER / MudObjectCreator.php
Last active March 24, 2017 06:41
Automatic mud object creation
<?php
namespace MudObjectCreator;
use JMS\Serializer\SerializerInterface;
use PhpParser\Error;
use PhpParser\NodeTraverser;
use PhpParser\ParserFactory;
use PhpParser\PrettyPrinter\Standard;
use Symfony\Component\Validator\Validator\ValidatorInterface;
@TiMESPLiNTER
TiMESPLiNTER / damn-vote
Last active September 8, 2015 08:06 — forked from danielmitd/damn-vote
#!/usr/bin/env php
<?php
$people = [
'b2b' => [
'Dominik',
'Thomas',
'Henrik',
],
'b2c' => [
@TiMESPLiNTER
TiMESPLiNTER / DoctrineHelper.php
Created February 24, 2015 07:58
Doctrine2 helper methods
<?php
/**
* @author Pascal Muenst <[email protected]>
* @copyright Copyright (c) 2015, TiMESPLiNTER Webdevelopment
*/
class DoctrineHelper
{
/**
* @param EntityManager $entityManager The used entity manager instance