PHP Класс Zebra\Zpl\Builder

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$zpl array ZPL commands.

Открытые методы

Метод Описание
__call ( string $method, array $arguments ) : self Handle dynamic method calls.
__toString ( ) : string Convert instance to string.
command ( ) : self Add a command.
gf ( ) : self Add GF command.
start ( ) : self Create a new instance statically.
toZpl ( ) : string Convert instance to ZPL.

Защищенные методы

Метод Описание
parameter ( mixed $parameter ) : mixed Convert native types to their ZPL representations.

Описание методов

__call() публичный Метод

Handle dynamic method calls.
public __call ( string $method, array $arguments ) : self
$method string
$arguments array
Результат self

__toString() публичный Метод

Convert instance to string.
public __toString ( ) : string
Результат string

command() публичный Метод

Add a command.
public command ( ) : self
Результат self

gf() публичный Метод

Add GF command.
public gf ( ) : self
Результат self

parameter() защищенный Метод

Convert native types to their ZPL representations.
protected parameter ( mixed $parameter ) : mixed
$parameter mixed
Результат mixed

start() публичный статический Метод

Create a new instance statically.
public static start ( ) : self
Результат self

toZpl() публичный Метод

Convert instance to ZPL.
public toZpl ( ) : string
Результат string

Описание свойств

$zpl защищенное свойство

ZPL commands.
protected array $zpl
Результат array