phptype

package
v0.0.0-...-f52026a Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 0 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array map[Value]Value

type Object

type Object struct {
	ClassName string
	Members   Array
}

func NewObject

func NewObject(className string) *Object

func (*Object) GetPrivate

func (self *Object) GetPrivate(name string) (v Value, ok bool)

func (*Object) GetProtected

func (self *Object) GetProtected(name string) (v Value, ok bool)

func (*Object) GetPublic

func (self *Object) GetPublic(name string) (v Value, ok bool)

func (*Object) SetPrivate

func (self *Object) SetPrivate(name string, value Value) *Object

func (*Object) SetProtected

func (self *Object) SetProtected(name string, value Value) *Object

func (*Object) SetPublic

func (self *Object) SetPublic(name string, value Value) *Object

type ObjectSerialized

type ObjectSerialized struct {
	ClassName string
	Data      string
	Value     Value
}

func NewObjectSerialized

func NewObjectSerialized(className string) *ObjectSerialized

type PhpSplArray

type PhpSplArray struct {
	Flags      int
	Array      Value
	Properties Value
}

func NewPhpSplArray

func NewPhpSplArray(array, properties Value) *PhpSplArray

type Slice

type Slice []Value

type Value

type Value interface{}

Jump to

Keyboard shortcuts

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