| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 10 | class Taxonomy extends AbstractTaxonomy { |
||
| 11 | |||
| 12 | use Labels\Taxonomy; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * {@inheritDoc} |
||
| 16 | */ |
||
| 17 | public function get_args(): array { |
||
| 18 | return [ |
||
| 19 | 'labels' => $this->get_labels( |
||
| 20 | __( 'Categoria', 'app' ), |
||
| 21 | __( 'Categorias', 'app' ), |
||
| 22 | ), |
||
| 23 | 'public' => true, |
||
| 24 | 'show_in_rest' => true, |
||
| 25 | 'hierarchical' => true, |
||
| 26 | ]; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function get_taxonomy(): string { |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | */ |
||
| 36 | public function get_object_type() { |
||
| 38 | } |
||
| 39 | |||
| 41 |