__construct() 공개 메소드

Sets the value to compare against.
public __construct ( string $substring, string $message = '%s' )
$substring string Text to search for.
$message string Customised message on failure.
예제 #1
0
 /**
  *    Sets the reject pattern
  *    @param string $substring  Text to search for.
  *    @param string $message    Customised message on failure.
  *    @access public
  */
 function __construct($substring, $message = '%s')
 {
     parent::__construct($substring, $message);
 }