You are here

public function IndeterminateBundleException::getIterator in Lightning Media 8.4

Same name and namespace in other branches
  1. 8.3 src/Exception/IndeterminateBundleException.php \Drupal\lightning_media\Exception\IndeterminateBundleException::getIterator()

File

src/Exception/IndeterminateBundleException.php, line 88

Class

IndeterminateBundleException
Thrown if no single media type can be determined from an input value.

Namespace

Drupal\lightning_media\Exception

Code

public function getIterator() {
  return new \ArrayIterator($this->types);
}