$content isn't passed to two methods.
Fixed a typo.
Fixed a typo in parameter name.
Using single quotes is speedier than using double quotes.
$data class entity is never used since each method has its own local $data variable.
Successive $data assignments were replaced with a single assignments, where possible, and a faster approach using array_merge().
No point in creating a new array each time an object is instantiated. A static property is used instead.
- Static properties for service modes and piro.
- Optimization in if..else in two methods.
Copyright and version changes.
Merge pull request #10 from orientalsensation/master

Fixed few errors in the code.