src/Parser.php
private function isEqualOrPluralOf($name, $singular)
    {
        return 0 === strnatcmp($name, $singular) || 0 === strnatcmp($name, $this->pluralize($singular));
    }
private function isEqualOrPluralOf($name, $singular)
    {
        return 0 === strnatcmp($name, $singular) || 0 === strnatcmp($name, $this->pluralize($singular));
    }
private function isEqualOrPluralOf ( $ name , $ singular ) { return 0 === strnatcmp ( $ name , $ singular ) || 0 === strnatcmp ( $ name , $ this -> pluralize ( $ singular ) ) ; }
Check if the input string is a plural or equal to a given comparative string.

@param string $name the input string
@param string $singular the string to compare with

@return bool
Check if the input string is a plural or equal to a given comparative string .