public function hasPassed()
    {
        if($this->passed == false || $this->failed == true)
        {
            $this->passed = true;
            $this->failed = false;
        }
    }
public function hasPassed()
    {
        if($this->passed == false || $this->failed == true)
        {
            $this->passed = true;
            $this->failed = false;
        }
    }
public function hasPassed ( ) { if ( $ this -> passed == false || $ this -> failed == true ) { $ this -> passed = true ; $ this -> failed = false ; } }
Set booleans if validator passed

@return void
Set booleans if validator passed