private function compileBlockOptions(\Twig_Compiler $compiler, $loopId = null)
    {
        $options = $this->getAttribute('options');

        if (null !== $loopId) {
            $compiler
                ->raw('array_merge(')
                ->subcompile($options)
                ->raw(', array(\'id\' => ')->string($loopId.'__')->raw('.$key)')
                ->raw(')')
            ;
        } else {
            $compiler->subcompile($options);
        }
    }
private function compileBlockOptions(\Twig_Compiler $compiler, $loopId = null)
    {
        $options = $this->getAttribute('options');

        if (null !== $loopId) {
            $compiler
                ->raw('array_merge(')
                ->subcompile($options)
                ->raw(', array(\'id\' => ')->string($loopId.'__')->raw('.$key)')
                ->raw(')')
            ;
        } else {
            $compiler->subcompile($options);
        }
    }
private function compileBlockOptions ( \ Twig_Compiler $ compiler , $ loopId = null ) { $ options = $ this -> getAttribute ( 'options' ) ; if ( null !== $ loopId ) { $ compiler -> raw ( 'array_merge(' ) -> subcompile ( $ options ) -> raw ( ', array(\'id\' => ' ) -> string ( $ loopId . '__' ) -> raw ( '.$key)' ) -> raw ( ')' ) ; } else { $ compiler -> subcompile ( $ options ) ; } }
Compile the block options.

@param \Twig_Compiler $compiler The compiler
@param string|null    $loopId   The loop id
Compile the block options .