| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function getArray() |
||
| 20 | { |
||
| 21 | $result = [self::DIRECTIVE => $this->getValue()]; |
||
| 22 | $noindex = new noindex(); |
||
| 23 | $result[$noindex->getDirective()] = $noindex->getValue(); |
||
| 24 | $nofollow = new nofollow(); |
||
| 25 | $result[$nofollow->getDirective()] = $nofollow->getValue(); |
||
| 26 | return $result; |
||
| 27 | } |
||
| 28 | |||
| 33 | } |