Skip to content

Instantly share code, notes, and snippets.

View podorozhny's full-sized avatar

Ivan Podorozhnyi podorozhny

  • Amsterdam, Netherlands
View GitHub Profile
@podorozhny
podorozhny / git-stash-grep
Created May 11, 2017 13:46 — forked from hartym/git-stash-grep
git stash grep (bash)
stashgrep() {
for i in `git stash list | awk -F ':' '{print $1}'`; do
git stash show -p $i | grep -H --label="$i" "$1"
done
}
<?php
namespace Acme\Serializer\Normalizer;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
use Symfony\Component\Serializer\Normalizer\SerializerAwareNormalizer;