(thread *phpThread)
| 33 | } |
| 34 | |
| 35 | func convertToTaskThread(thread *phpThread) *taskThread { |
| 36 | handler := &taskThread{ |
| 37 | thread: thread, |
| 38 | execChan: make(chan *task), |
| 39 | } |
| 40 | thread.setHandler(handler) |
| 41 | return handler |
| 42 | } |
| 43 | |
| 44 | func (handler *taskThread) beforeScriptExecution() string { |
| 45 | thread := handler.thread |
no test coverage detected