pressingonalways/AltamiraBundle — pull request #4 by relwell (2012-12-30 22:35:30+00:00)
Title: Update example controller to support new scheme for handling type options

Once pull request https://github.com/Malwarebytes/Altamira/pull/19 has been accepted, the following change is required:

$foo->setType( 'Bar' )->setTypeOption( 'baz', 'qux' )->setTypeOption( 'here', 'there' );

Should become

$foo->setType( 'Bar', array( 'baz' => 'qux', 'here' => 'there' ) );

This allows us to effectively handle option injection from types to JsWriters, which now centralize option tracking as soon as possible.