add const FORMATS = array()

Add a constant FORMATS as a list of compatibles formats.
If the list is set null, all formats are compatibles.
This commit is contained in:
Badet Aurélien 2016-11-19 00:02:37 +01:00 committed by GitHub
parent fa359e2c72
commit 35c9ff85a3

View File

@ -8,6 +8,7 @@ abstract class BridgeAbstract implements BridgeInterface {
const MAINTAINER = 'No maintainer';
const CACHE_TIMEOUT = 3600;
const PARAMETERS = array();
const FORMATS = array(); // array of compatibles formats or null
protected $cache;
protected $items = array();