| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Term implements TermInterface { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritDoc} |
||
| 19 | * |
||
| 20 | * @param integer $id Id. |
||
| 21 | * @param string $key Key. |
||
| 22 | * @param boolean $single Single. |
||
| 23 | * @return mixed |
||
| 24 | */ |
||
| 25 | public function get( int $id, string $key, bool $single = false ) { |
||
| 26 | return get_term_meta( $id, $key, $single ); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | * |
||
| 32 | * @param integer $id Id. |
||
| 33 | * @param string $key Key. |
||
| 34 | * @param mixed $value Value. |
||
| 35 | * @return IMeta |
||
| 36 | */ |
||
| 37 | public function set( int $id, string $key, $value ) : IMeta { |
||
| 40 | } |
||
| 41 | } |
||
| 42 |