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 |
|
/** |
core/services/collections/Collection.php 1 location
|
@@ 88-94 (lines=7) @@
|
| 85 |
|
* @param string $collection_interface |
| 86 |
|
* @throws \EventEspresso\core\exceptions\InvalidInterfaceException |
| 87 |
|
*/ |
| 88 |
|
protected function setCollectionInterface($collection_interface) |
| 89 |
|
{ |
| 90 |
|
if (! (interface_exists($collection_interface) || class_exists($collection_interface))) { |
| 91 |
|
throw new InvalidInterfaceException($collection_interface); |
| 92 |
|
} |
| 93 |
|
$this->collection_interface = $collection_interface; |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
|
| 97 |
|
/** |