public function getPlural()
    {
        $singular = $this->getSingular();
        if (preg_match('/y$/', $singular)) {
            return preg_replace('/y$/', 'ies', $singular);
        }
        return (is_null($this->plural))
            ? Str::human($singular) . 's'
            : $this->plural;
    }
public function getPlural()
    {
        $singular = $this->getSingular();
        if (preg_match('/y$/', $singular)) {
            return preg_replace('/y$/', 'ies', $singular);
        }
        return (is_null($this->plural))
            ? Str::human($singular) . 's'
            : $this->plural;
    }
public function getPlural ( ) { $ singular = $ this -> getSingular ( ) ; if ( preg_match ( '/y$/' , $ singular ) ) { return preg_replace ( '/y$/' , 'ies' , $ singular ) ; } return ( is_null ( $ this -> plural ) ) ? Str :: human ( $ singular ) . 's' : $ this -> plural ; }
Get the plural name
@return string
Get the plural name