You are here

class VocabularyResponse in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
  2. 10 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse

Hierarchy

Expanded class hierarchy of VocabularyResponse

File

core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php, line 8

Namespace

Drupal\vocabulary_serialization_test
View source
class VocabularyResponse extends CacheableResponse {

  /**
   * @var \Drupal\taxonomy\VocabularyInterface
   */
  protected $vocabulary;
  public function setVocabulary(VocabularyInterface $vocabulary) {
    $this->vocabulary = $vocabulary;
  }

}

Members