core/services/collections/CollectionDetails.php 1 location
|
@@ 194-200 (lines=7) @@
|
| 191 |
|
* @param string $collection_interface |
| 192 |
|
* @throws \EventEspresso\core\exceptions\InvalidInterfaceException |
| 193 |
|
*/ |
| 194 |
|
protected function setCollectionInterface($collection_interface) |
| 195 |
|
{ |
| 196 |
|
if (! (interface_exists($collection_interface) || class_exists($collection_interface))) { |
| 197 |
|
throw new InvalidInterfaceException($collection_interface); |
| 198 |
|
} |
| 199 |
|
$this->collection_interface = $collection_interface; |
| 200 |
|
} |
| 201 |
|
|
| 202 |
|
|
| 203 |
|
/** |
core/services/collections/Collection.php 1 location
|
@@ 69-75 (lines=7) @@
|
| 66 |
|
* @param string $collection_interface |
| 67 |
|
* @throws InvalidInterfaceException |
| 68 |
|
*/ |
| 69 |
|
protected function setCollectionInterface($collection_interface) |
| 70 |
|
{ |
| 71 |
|
if (! (interface_exists($collection_interface) || class_exists($collection_interface))) { |
| 72 |
|
throw new InvalidInterfaceException($collection_interface); |
| 73 |
|
} |
| 74 |
|
$this->collection_interface = $collection_interface; |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
|
| 78 |
|
/** |