mirror of
https://github.com/deuill/go-php.git
synced 2024-09-21 08:50:45 +00:00
17 lines
246 B
Go
17 lines
246 B
Go
|
package php
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
|
||
|
"github.com/deuill/go-php/context"
|
||
|
"github.com/deuill/go-php/engine"
|
||
|
)
|
||
|
|
||
|
func New() (*engine.Engine, error) {
|
||
|
return engine.New()
|
||
|
}
|
||
|
|
||
|
func NewContext(w io.Writer) (*context.Context, error) {
|
||
|
return context.New(w)
|
||
|
}
|