<?php class Service_Calc { public function add($a, $b) { return (int)$a + (int)$b; } }