class VocabularyResponse in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
- 9 core/modules/taxonomy/tests/modules/vocabulary_serialization_test/src/VocabularyResponse.php \Drupal\vocabulary_serialization_test\VocabularyResponse
Hierarchy
- class \Drupal\Core\Cache\CacheableResponse extends \Symfony\Component\HttpFoundation\Response implements CacheableResponseInterface uses CacheableResponseTrait
- class \Drupal\vocabulary_serialization_test\VocabularyResponse
Expanded class hierarchy of VocabularyResponse
File
- core/
modules/ taxonomy/ tests/ modules/ vocabulary_serialization_test/ src/ VocabularyResponse.php, line 8
Namespace
Drupal\vocabulary_serialization_testView source
class VocabularyResponse extends CacheableResponse {
/**
* @var \Drupal\taxonomy\VocabularyInterface
*/
protected $vocabulary;
public function setVocabulary(VocabularyInterface $vocabulary) {
$this->vocabulary = $vocabulary;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableResponseTrait:: |
protected | property | The cacheability metadata. | |
CacheableResponseTrait:: |
public | function | ||
CacheableResponseTrait:: |
public | function | ||
VocabularyResponse:: |
protected | property | ||
VocabularyResponse:: |
public | function |