Skip to content

Instantly share code, notes, and snippets.

View plandolt's full-sized avatar

Patrick Landolt plandolt

View GitHub Profile
@plandolt
plandolt / ExtendedArrayCollection.php
Created July 27, 2017 13:52 — forked from jamesmoey/ExtendedArrayCollection.php
Extend array collection from Doctrine with operation to perform on all the item in the collection.
<?php
namespace Collections;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\PropertyAccess\PropertyAccess;
class ExtendedArrayCollection extends ArrayCollection
{
/**
# playbook log.yml
---
- name: LOG Provisioning
hosts: log
gather_facts: false
roles:
- { role: cloudscale/run, tags: cloudscale }
- { role: common/common, tags: common }