PHP Class Zebra\Zpl\Builder

Afficher le fichier Open project: robgridley/zebra

Protected Properties

Свойство Type Description
$zpl array ZPL commands.

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
parameter ( mixed $parameter ) : mixed Convert native types to their ZPL representations.

Method Details

__call() public méthode

Handle dynamic method calls.
public __call ( string $method, array $arguments ) : self
$method string
$arguments array
Résultat self

__toString() public méthode

Convert instance to string.
public __toString ( ) : string
Résultat string

command() public méthode

Add a command.
public command ( ) : self
Résultat self

gf() public méthode

Add GF command.
public gf ( ) : self
Résultat self

parameter() protected méthode

Convert native types to their ZPL representations.
protected parameter ( mixed $parameter ) : mixed
$parameter mixed
Résultat mixed

start() public static méthode

Create a new instance statically.
public static start ( ) : self
Résultat self

toZpl() public méthode

Convert instance to ZPL.
public toZpl ( ) : string
Résultat string

Property Details

$zpl protected_oe property

ZPL commands.
protected array $zpl
Résultat array