/** * Pluralize a word * * @return string The pluralized string */ public function render() { $content = $this->renderChildren(); return $this->inflector->pluralize($content); }
/** * Humanize a model name * * @param boolean $lowercase Wether the result should be lowercased * @return string The humanized string */ public function render($lowercase = FALSE) { $content = $this->renderChildren(); return $this->inflector->humanizeCamelCase($content, $lowercase); }