You are here

public function IndeterminateBundleException::count in Lightning Media 8.3

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

File

src/Exception/IndeterminateBundleException.php, line 81

Class

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

Namespace

Drupal\lightning_media\Exception

Code

public function count() {
  return count($this->types);
}