model/RandomWordID.php
/**
     * Generates one word-based pseudorandom identifier
     * @param string $base Base to append to chosen word;
     * 
     * @return string Palauttaa satunnaisen sanan
     * */
Generates one word-based pseudorandom identifier
@param string $base Base to append to chosen word.

@return string Palauttaa satunnaisen sanan
Generates one word - based pseudorandom identifier @param string $base Base to append to chosen word . @return string Palauttaa satunnaisen sanan
public function give($base="") : string
    {
        $index = mt_rand(0, $this->wordCount-1);
        return trim($base.$this->wordList[$index]);
    }
public function give ( $ base = " " ) : string { $ index = mt_rand ( 0 , $ this -> wordCount - 1 ) ; return trim ( $ base . $ this -> wordList [ $ index ] ) ; }
Generates one word-based pseudorandom identifier
 @param string $base Base to append to chosen word;
Generates one word - based pseudorandom identifier @param string $base Base to append to chosen word ;