示例#1
0
 public function setLogger(\Psr\Log\LoggerInterface $logger)
 {
     parent::setLogger($logger);
     if ($this->validator) {
         $this->validator->setLogger($this->logger);
     }
 }
示例#2
0
 /**
  * @param string $to
  */
 public function __construct(string $to = '汎用辞書')
 {
     parent::__construct();
     $this->to = in_array($to, ['キャッチフィーリング', 'きゃっちま', 'Inteligenceω クイズ', 'Inteligenceω しりとり', 'ピクトセンス']) ? $to : '汎用辞書';
 }