Added ability to set a SerializationContext into the View

can you add a phpdoc?