protected function jsToPhp($method, $arguments) { $code = $this->getPhpCodeFromJs($arguments); return in_array($method, array('handleCodePhp')) ? array($code) : $code; }