コード例 #1
0
 /**
  * Create captcha image
  *
  * @param string $config
  * @return \Mews\Captcha\ImageManager->response 
  * @static 
  */
 public static function create($config = 'default')
 {
     //Method inherited from \Mews\Captcha\Captcha
     return \App\Captcha\Captcha::create($config);
 }
コード例 #2
0
 /**
  * get CAPTCHA
  *
  * @param \App\Captcha\Captcha $captcha
  * @param string $config
  * @return \Intervention\Image\ImageManager->response
  */
 public function getCaptcha(Captcha $captcha, $config = 'default')
 {
     return $captcha->create($config);
 }