public function limitWords($limit, $end = '...')
    {
        return new static(Str::words($this->string, $this->getIntegerable($limit), $this->retrieveValue($end)));
    }
public function limitWords($limit, $end = '...')
    {
        return new static(Str::words($this->string, $this->getIntegerable($limit), $this->retrieveValue($end)));
    }
public function limitWords ( $ limit , $ end = '...' ) { return new static ( Str :: words ( $ this -> string , $ this -> getIntegerable ( $ limit ) , $ this -> retrieveValue ( $ end ) ) ) ; }
Limit the number of words in a String.

@param int|IntegerContract $limit
@param string|StringContract $end
@return static
Limit the number of words in a String .