public function flip()
    {
        $this->counter++;
        unset($this->isLucky);
        $this->currentSide = $this->isLucky()? $this->expectedSide : $this->getOppositeSide($this->expectedSide);
        return $this->currentSide;
    }
public function flip()
    {
        $this->counter++;
        unset($this->isLucky);
        $this->currentSide = $this->isLucky()? $this->expectedSide : $this->getOppositeSide($this->expectedSide);
        return $this->currentSide;
    }
public function flip ( ) { $ this -> counter ++ ; unset ( $ this -> isLucky ) ; $ this -> currentSide = $ this -> isLucky ( ) ? $ this -> expectedSide : $ this -> getOppositeSide ( $ this -> expectedSide ) ; return $ this -> currentSide ; }
Flips the coin and returns its side
@return string
Flips the coin and returns its side