| 1 | <?php |
||
| 7 | class TaxonBlock extends CustomBlock |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var TaxonInterface |
||
| 11 | */ |
||
| 12 | protected $taxon; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $taxonCode; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * {@inheritdoc} |
||
| 21 | */ |
||
| 22 | public function getType() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return TaxonInterface |
||
| 29 | */ |
||
| 30 | public function getTaxon() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param TaxonInterface $taxon |
||
| 37 | */ |
||
| 38 | public function setTaxon(TaxonInterface $taxon) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getTaxonCode() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $taxonCode |
||
| 54 | */ |
||
| 55 | public function setTaxonCode($taxonCode) |
||
| 59 | } |
||
| 60 |