One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
admin
/
lib
/
Swift
/
Events
/
View File Name :
CommandEvent.php
<?php /** * Swift Mailer Command Event * Please read the LICENSE file * @copyright Chris Corbyn <chris@w3style.co.uk> * @author Chris Corbyn <chris@w3style.co.uk> * @package Swift_Events * @license GNU Lesser General Public License */ /** * Generated when Swift is sending a command * @package Swift_Events * @author Chris Corbyn <chris@w3style.co.uk> */ class Swift_Events_CommandEvent extends Swift_Events { /** * Contains the command being sent * @var string */ protected $string = null; /** * Contains the expected response code (or null) * @var int */ protected $code = null; /** * Constructor * @param string The command being sent * @param int The expected code */ public function __construct($string, $code=null) { $this->setString($string); $this->setCode($code); } /** * Set the command being sent (without CRLF) * @param string The command being sent */ public function setString($string) { $this->string = (string) $string; } /** * Get the command being sent * @return string */ public function getString() { return $this->string; } /** * Set response code which is expected * @param int The response code */ public function setCode($code) { if ($code === null) $this->code = null; else $this->code = (int) $code; } /** * Get the expected response code * @return int */ public function getCode() { return $this->code; } }