Backup of db before drupal security update
[yaffs-website] / web / core / modules / taxonomy / tests / modules / vocabulary_serialization_test / src / VocabularyResponse.php
1 <?php
2
3 namespace Drupal\vocabulary_serialization_test;
4
5 use Drupal\Core\Cache\CacheableResponse;
6 use Drupal\taxonomy\VocabularyInterface;
7
8 class VocabularyResponse extends CacheableResponse {
9
10   /**
11    * @var \Drupal\taxonomy\VocabularyInterface
12    */
13   protected $vocabulary;
14
15   public function setVocabulary(VocabularyInterface $vocabulary) {
16     $this->vocabulary = $vocabulary;
17   }
18
19 }