public function getBytes($count)
    {
        $count = (int) $count;

        if ($count < 0) {
            throw new \InvalidArgumentException('Number of bytes must be 0 or more');
        }

        return $this->generator->getBytes($count);
    }
public function getBytes($count)
    {
        $count = (int) $count;

        if ($count < 0) {
            throw new \InvalidArgumentException('Number of bytes must be 0 or more');
        }

        return $this->generator->getBytes($count);
    }
public function getBytes ( $ count ) { $ count = ( int ) $ count ; if ( $ count < 0 ) { throw new \ InvalidArgumentException ( 'Number of bytes must be 0 or more' ) ; } return $ this -> generator -> getBytes ( $ count ) ; }
Returns a number of random bytes.
@param int $count Number of random bytes to return
@return string Randomly generated bytes
@throws \InvalidArgumentException If the count is invalid
Returns a number of random bytes .