php

package
v0.2.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCommand

func SetCommand(cmd string)

SetCommand Replace php command.

Types

type PHPExec

type PHPExec struct {
	// contains filtered or unexported fields
}

func NewPHPExec

func NewPHPExec(args ...interface{}) *PHPExec

func (*PHPExec) ErrWriterAppend

func (instance *PHPExec) ErrWriterAppend(w io.Writer)

func (*PHPExec) GetDir

func (instance *PHPExec) GetDir() string

func (*PHPExec) OutWriterAppend

func (instance *PHPExec) OutWriterAppend(w io.Writer)

func (*PHPExec) Run

func (instance *PHPExec) Run(args ...string) (*executor.ConsoleProgramSession, error)

func (*PHPExec) RunAsync

func (instance *PHPExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)

func (*PHPExec) RunWrapped

func (instance *PHPExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)

func (*PHPExec) SetCommand

func (instance *PHPExec) SetCommand(cmd string)

func (*PHPExec) SetDir

func (instance *PHPExec) SetDir(dir string)

func (*PHPExec) Version

func (instance *PHPExec) Version() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL