/** * Add a verb to the sentence * * @param string $verb A verb */ public function verb($verb) { // If we passed a controller's action if (str_contains($verb, '_')) { $verb = array_get(explode('_', $verb), 1); } $verb = Babel::verb($verb); $this->addWord('verb', $verb); return $this; }