| @@ 107-116 (lines=10) @@ | ||
| 104 | * |
|
| 105 | * @return string the dumped directive |
|
| 106 | */ |
|
| 107 | public function dump(ServerInterface $server, $spaces = 0) |
|
| 108 | { |
|
| 109 | $value = $this->getValue() ? ' '.$this->getValue() : ''; |
|
| 110 | ||
| 111 | return str_repeat(' ', $spaces).sprintf( |
|
| 112 | $server->getDumperSimpleDirective(), |
|
| 113 | $this->getName(), |
|
| 114 | $value |
|
| 115 | ).PHP_EOL; |
|
| 116 | } |
|
| 117 | } |
|
| 118 | ||
| @@ 57-66 (lines=10) @@ | ||
| 54 | * |
|
| 55 | * @return string the dumped directive |
|
| 56 | */ |
|
| 57 | public function dump(ServerInterface $server, $spaces = 0) |
|
| 58 | { |
|
| 59 | $value = $this->getValue() ? ' '.$this->getValue() : ''; |
|
| 60 | ||
| 61 | return str_repeat(' ', $spaces).sprintf( |
|
| 62 | $server->getDumperSimpleDirective(), |
|
| 63 | $this->getName(), |
|
| 64 | $value |
|
| 65 | ).PHP_EOL; |
|
| 66 | } |
|
| 67 | } |
|
| 68 | ||