private function createHiddenNode(array $attrs)
    {
        $attrs = array(
            'type' => 'hidden',
            'name' => $attrs['name'],
            'value' => '0'
        );

        $node = new NodeElement();
        $node->openTag('input')
             ->addAttributes($attrs)
             ->finalize(true);

        return $node;
    }
private function createHiddenNode(array $attrs)
    {
        $attrs = array(
            'type' => 'hidden',
            'name' => $attrs['name'],
            'value' => '0'
        );

        $node = new NodeElement();
        $node->openTag('input')
             ->addAttributes($attrs)
             ->finalize(true);

        return $node;
    }
private function createHiddenNode ( array $ attrs ) { $ attrs = array ( 'type' => 'hidden' , 'name' => $ attrs [ 'name' ] , 'value' => '0' ) ; $ node = new NodeElement ( ) ; $ node -> openTag ( 'input' ) -> addAttributes ( $ attrs ) -> finalize ( true ) ; return $ node ; }
Creates hidden node

@param array $attrs
@return \Krystal\Form\NodeElement
Creates hidden node