core/services/collections/Collection.php 1 location
|
@@ 50-56 (lines=7) @@
|
47 |
|
* @param string $collection_interface |
48 |
|
* @throws \EventEspresso\core\exceptions\InvalidInterfaceException |
49 |
|
*/ |
50 |
|
protected function setCollectionInterface($collection_interface) |
51 |
|
{ |
52 |
|
if (! (interface_exists($collection_interface) || class_exists($collection_interface))) { |
53 |
|
throw new InvalidInterfaceException($collection_interface); |
54 |
|
} |
55 |
|
$this->collection_interface = $collection_interface; |
56 |
|
} |
57 |
|
|
58 |
|
|
59 |
|
/** |
core/services/collections/CollectionDetails.php 1 location
|
@@ 193-199 (lines=7) @@
|
190 |
|
* @param string $collection_interface |
191 |
|
* @throws \EventEspresso\core\exceptions\InvalidInterfaceException |
192 |
|
*/ |
193 |
|
protected function setCollectionInterface($collection_interface) |
194 |
|
{ |
195 |
|
if (! (interface_exists($collection_interface) || class_exists($collection_interface))) { |
196 |
|
throw new InvalidInterfaceException($collection_interface); |
197 |
|
} |
198 |
|
$this->collection_interface = $collection_interface; |
199 |
|
} |
200 |
|
|
201 |
|
|
202 |
|
/** |