You are here

class InvalidStorageFilterException in Config Filter 8

Same name and namespace in other branches
  1. 8.2 src/Exception/InvalidStorageFilterException.php \Drupal\config_filter\Exception\InvalidStorageFilterException

Thrown when a StorageFilterInterface is expected but not present.

Hierarchy

Expanded class hierarchy of InvalidStorageFilterException

2 files declare their use of InvalidStorageFilterException
FilteredStorage.php in src/Config/FilteredStorage.php
FilteredStorageTest.php in src/Tests/FilteredStorageTest.php

File

src/Exception/InvalidStorageFilterException.php, line 10

Namespace

Drupal\config_filter\Exception
View source
class InvalidStorageFilterException extends \InvalidArgumentException {

  /**
   * InvalidStorageFilterException constructor.
   */
  public function __construct() {
    parent::__construct("An argument does not implement " . StorageFilterInterface::class);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
InvalidStorageFilterException::__construct public function InvalidStorageFilterException constructor.