parseCaddyfile unmarshals tokens from h into a new Middleware.
(h httpcaddyfile.Helper)
| 333 | |
| 334 | // parseCaddyfile unmarshals tokens from h into a new Middleware. |
| 335 | func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) { |
| 336 | m := &FrankenPHPModule{} |
| 337 | err := m.UnmarshalCaddyfile(h.Dispenser) |
| 338 | |
| 339 | return m, err |
| 340 | } |
| 341 | |
| 342 | // parsePhpServer parses the php_server directive, which has a similar syntax |
| 343 | // to the php_fastcgi directive. A line such as this: |
nothing calls this directly
no test coverage detected