Jyxo\Beholder\TestCase::__construct PHP Method

__construct() public method

Constructor.
public __construct ( string $description )
$description string Short description
    public function __construct(string $description)
    {
        $this->description = $description;
    }

Usage Example

示例#1
0
文件: Redis.php 项目: JerryCR/php-2
 /**
  * Constructor.
  *
  * @param string $description Test description
  * @param string $host Server host
  * @param integer $port Port
  * @param integer $database Database index
  */
 public function __construct($description, $host, $port = 6379, $database = 0)
 {
     parent::__construct($description);
     $this->host = (string) $host;
     $this->port = (int) $port;
     $this->database = (int) $database;
 }
All Usage Examples Of Jyxo\Beholder\TestCase::__construct