src/Common/Console/Seed/Base.php
protected function loremSentence($iNumSentences = 1)
    {
        $aOut     = [];
        $aLengths = [5, 6, 8, 10, 12];

        for ($i = 0; $i < $iNumSentences; $i++) {
            $iLength = $aLengths[array_rand($aLengths)];
            $aOut[]  = ucfirst($this->loremWord($iLength));
        }

        return implode('. ', $aOut) . '.';
    }
protected function loremSentence($iNumSentences = 1)
    {
        $aOut     = [];
        $aLengths = [5, 6, 8, 10, 12];

        for ($i = 0; $i < $iNumSentences; $i++) {
            $iLength = $aLengths[array_rand($aLengths)];
            $aOut[]  = ucfirst($this->loremWord($iLength));
        }

        return implode('. ', $aOut) . '.';
    }
protected function loremSentence ( $ iNumSentences = 1 ) { $ aOut = [ ] ; $ aLengths = [ 5 , 6 , 8 , 10 , 12 ] ; for ( $ i = 0 ; $ i < $ iNumSentences ; $ i ++ ) { $ iLength = $ aLengths [ array_rand ( $ aLengths ) ] ; $ aOut [ ] = ucfirst ( $ this -> loremWord ( $ iLength ) ) ; } return implode ( '. ' , $ aOut ) . '.' ; }
Generate some random Lorem Ipsum sentences

@param int $iNumSentences The number of sentences to generate

@return string
Generate some random Lorem Ipsum sentences