Ejemplo n.º 1
0
 /**
  * Add an adjective to the sentence
  *
  * @param  string $verb A verb
  */
 public function adjective($adjective)
 {
     $adjective = Babel::adjective($adjective);
     // Conjugates if a noun precedes the verb
     if (isset($this->noun)) {
         $adjective = Accord::adjective($adjective, $this);
     }
     $this->addWord('adjective', $adjective);
     return $this;
 }