Match::__construct PHP Method

__construct() public method

public __construct ( $startInOld, $startInNew, $size )
    public function __construct($startInOld, $startInNew, $size)
    {
        $this->StartInOld = $startInOld;
        $this->StartInNew = $startInNew;
        $this->Size = $size;
    }

Usage Example

 /**
  * @param $password
  * @param $begin
  * @param $end
  * @param $token
  * @param $cardinality
  */
 public function __construct($password, $begin, $end, $token, $cardinality = null)
 {
     parent::__construct($password, $begin, $end, $token);
     $this->pattern = 'bruteforce';
     // Cardinality can be injected to support full password cardinality instead of token.
     $this->cardinality = $cardinality;
 }
All Usage Examples Of Match::__construct