Location: PHPKode > projects > Maintainable PHP Framework > vendor/Horde/Yaml/Node.php
<?php
/**
 * Horde YAML package
 *
 * This package is heavily inspired by the Spyc PHP YAML
 * implementation (http://spyc.sourceforge.net/), and portions are
 * copyright 2005-2006 Chris Wanstrath.
 *
 * @author   Chris Wanstrath <hide@address.com>
 * @author   Chuck Hagenbuch <hide@address.com>
 * @author   Mike Naberezny <hide@address.com>
 * @license  http://opensource.org/licenses/bsd-license.php BSD
 * @category Horde
 * @package  Horde_Yaml
 */

/**
 * A node, used for parsing YAML.
 *
 * @category Horde
 * @package  Horde_Yaml
 */
class Horde_Yaml_Node
{
    /**
     * @var string
     */
    public $parent;

    /**
     */
    public $id;

    /**
     * @var mixed
     */
    public $data;

    /**
     * @var integer
     */
    public $indent;

    /**
     * @var bool
     */
    public $children = false;

    /**
     * The constructor assigns the node a unique ID.
     * @return void
     */
    public function __construct($nodeId)
    {
        $this->id = $nodeId;
    }

}
Return current item: Maintainable PHP Framework