Skip to content

Instantly share code, notes, and snippets.

View MrLexisDev's full-sized avatar
🎯
Focusing

MrLexisDev

🎯
Focusing
View GitHub Profile
@MrLexisDev
MrLexisDev / JsonFilter.deprecated.php
Last active October 14, 2021 06:35 — forked from thomas-seres/JsonFilter.deprecated.php
API Platform - JSON Filter
<?php
/**
*
* @author Thomas Sérès <thomas.seres@gmail.com>
*/
namespace App\Filter;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\AbstractContextAwareFilter;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface;
use ApiPlatform\Core\Exception\InvalidArgumentException;