public function setPlural($title = [])
    {
        if (! empty($title) && isset($title[1])) {
            $this->plural = $title[1];
        } else {
            $name = str_replace('_', ' ', $this->getSlug());

            $this->plural = Str::plural(Str::title($name));
        }

        return $this;
    }
public function setPlural($title = [])
    {
        if (! empty($title) && isset($title[1])) {
            $this->plural = $title[1];
        } else {
            $name = str_replace('_', ' ', $this->getSlug());

            $this->plural = Str::plural(Str::title($name));
        }

        return $this;
    }
public function setPlural ( $ title = [ ] ) { if ( ! empty ( $ title ) && isset ( $ title [ 1 ] ) ) { $ this -> plural = $ title [ 1 ] ; } else { $ name = str_replace ( '_' , ' ' , $ this -> getSlug ( ) ) ; $ this -> plural = Str :: plural ( Str :: title ( $ name ) ) ; } return $ this ; }
Sets the value of plural.

@param mixed $plural the plural

@return self
Sets the value of plural .