You are here

public function IndeterminateBundleException::getIterator in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.4 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);
}