Added ability to set a SerializationContext into the View

Added method getView

Compliant to coding standards

Added phpdoc

Fixed typos