getText() public method

public getText ( )
Ejemplo n.º 1
0
 public function matches(Sign $sign)
 {
     return $sign->getText()[$this->matchingLine - 1] == $this->matches;
 }
Ejemplo n.º 2
0
 public function resetSign(Sign $sign)
 {
     $text = $sign->getText();
     if (TextFormat::clean(strtolower(trim($text[0]))) === strtolower(trim($this->sign->get("sign_final_change")))) {
         $sign->setText($text[0] = "Sign Has been", $text[1] = "deleted from", $text[2] = "SignStatus", $text[3] = "updates.");
         return true;
     } else {
         return false;
     }
 }