Skip to content

Instantly share code, notes, and snippets.

View fabiocarneiro's full-sized avatar

Fábio Carneiro fabiocarneiro

View GitHub Profile
@Ocramius
Ocramius / CriteriaTest.php
Created August 16, 2012 09:15
Example of Criteria/Collection API usage in Doctrine 2.3
<?php
/**
* Created by JetBrains PhpStorm.
* User: Marco Pivetta
* Date: 16.08.12
* Time: 11:05
* To change this template use File | Settings | File Templates.
*/
class CriteriaTest extends \PHPUnit_Framework_TestCase
{