PHP Class Neos\Kickstarter\ViewHelpers\Inflect\PluralizeViewHelper

= Examples = {variable -> k:inflect.pluralize()} Output: content of {variable} in its plural form (foo => foos)
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$inflector Neos\Kickstarter\Utility\Inflector

Public Methods

Method Description
render ( ) : string Pluralize a word

Method Details

render() public method

Pluralize a word
public render ( ) : string
return string The pluralized string

Property Details

$inflector protected property

protected Inflector,Neos\Kickstarter\Utility $inflector
return Neos\Kickstarter\Utility\Inflector