getCommand() 공개 메소드

Get the command which was sent to the server.
public getCommand ( ) : string
리턴 string
예제 #1
0
 /**
  * Invoked immediately following a command being sent.
  *
  * @param Swift_Events_CommandEvent $evt
  */
 public function commandSent(Swift_Events_CommandEvent $evt)
 {
     $command = $evt->getCommand();
     $this->_logger->add(sprintf('>> %s', $command));
 }
 /**
  * Invoked immediately following a command being sent.
  *
  * @param \Swift_Events_CommandEvent $evt
  */
 public function commandSent(\Swift_Events_CommandEvent $evt)
 {
     $level = $this->levels['commandSent'];
     $command = $evt->getCommand();
     $this->log($level, sprintf(">> %s", $command));
 }
 /**
  * Invoked immediately following a command being sent.
  *
  * @param Swift_Events_CommandEvent $evt
  */
 public function commandSent(Swift_Events_CommandEvent $evt)
 {
     $command = $evt->getCommand();
     $this->_out += strlen($command);
 }
예제 #4
0
파일: Listener.php 프로젝트: cawaphp/email
 /**
  * Invoked immediately following a command being sent.
  *
  * @param \Swift_Events_CommandEvent $evt
  */
 public function commandSent(\Swift_Events_CommandEvent $evt)
 {
     $this->log[] = '> ' . $evt->getCommand();
 }