| Total Complexity | 8 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | trait RobotsTxtTrait |
||
| 9 | { |
||
| 10 | /** @var RobotsTxt|string (empty string) */ |
||
| 11 | protected $robotsTxt; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @return RobotsTxt|string containing the current Robots.txt or NULL if an error occured |
||
| 15 | * or empty string if robots is empty file |
||
| 16 | */ |
||
| 17 | public function getRobotsTxt() |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param RobotsTxt|string $robotsTxt |
||
| 45 | * |
||
| 46 | * @return self |
||
| 47 | */ |
||
| 48 | public function setRobotsTxt($robotsTxt) |
||
| 55 |