Skip to content

Instantly share code, notes, and snippets.

View rabbl's full-sized avatar

Ralf Junghanns rabbl

View GitHub Profile
@rabbl
rabbl / RasterBand.php
Last active February 22, 2016 08:28
Raster as Custom Mapping Type in Doctrine
<?php
namespace AppBundle\Model;
class RasterBand
{
/**
* @var float[][]
*/
private $data;
<?php
/**
* Recursively takes the specified criteria and adds too the expression.
*
* The criteria is defined in an array notation where each item in the list
* represents a comparison <fieldName, operator, value>. The operator maps to
* comparison methods located in ExpressionBuilder. The key in the array can
* be used to identify grouping of comparisons.
*