예제 #1
0
파일: Jsonp.php 프로젝트: joselfonseca/api
 /**
  * Get the response content type.
  *
  * @return string
  */
 public function getContentType()
 {
     if ($this->hasValidCallback()) {
         return 'application/javascript';
     }
     return parent::getContentType();
 }