Phpcraft
Public Member Functions | Public Attributes | List of all members
Phpcraft\Packet\DeclareCommands\LiteralNode Class Reference
Inheritance diagram for Phpcraft\Packet\DeclareCommands\LiteralNode:
Inheritance graph
[legend]
Collaboration diagram for Phpcraft\Packet\DeclareCommands\LiteralNode:
Collaboration graph
[legend]

Public Member Functions

 __construct (string $name=null, Node $redirect_to=null)
 
 __toString ()
 
- Public Member Functions inherited from Phpcraft\Packet\DeclareCommands\Node
 write (Connection $con, array &$stack)
 

Public Attributes

const TYPE_ID = 1
 
 $name
 
- Public Attributes inherited from Phpcraft\Packet\DeclareCommands\Node
const TYPE_ID = 3
 
 $children = []
 
 $executable = false
 
 $redirect_to
 

Additional Inherited Members

- Static Public Member Functions inherited from Phpcraft\Packet\DeclareCommands\Node
static read (Connection $con)
 

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Packet\DeclareCommands\LiteralNode::__construct ( string  $name = null,
Node  $redirect_to = null 
)

Member Function Documentation

◆ __toString()

Phpcraft\Packet\DeclareCommands\LiteralNode::__toString ( )

Member Data Documentation

◆ $name

Phpcraft\Packet\DeclareCommands\LiteralNode::$name

◆ TYPE_ID

const Phpcraft\Packet\DeclareCommands\LiteralNode::TYPE_ID = 1