FluentDOM\Serializer\Json::__construct PHP Метод

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

public __construct ( DOMNode $node, integer $options, integer $depth = 512 )
$node DOMNode
$options integer
$depth integer
    public function __construct(\DOMNode $node, $options = 0, $depth = 512)
    {
        $this->_node = $node;
        $this->_options = (int) $options;
        $this->_depth = (int) $depth;
        $this->_useDepth = \FluentDOM::$isHHVM || version_compare(PHP_VERSION, '5.5.0', '>=');
    }