| Current Path : /home/julesbu/www/wp-content/plugins/sg-security/vendor/pragmarx/random/src/ |
| Current File : /home/julesbu/www/wp-content/plugins/sg-security/vendor/pragmarx/random/src/Trivia.php |
<?php
namespace PragmaRX\Random;
use PragmaRX\Random\Generators\ArrayGenerator;
use PragmaRX\Trivia\Trivia as TriviaService;
trait Trivia
{
use ArrayGenerator;
/**
* Generate trivia lines.
*
* @return static
*/
public function trivia()
{
$this->array = true;
$this->count = 1;
$this->items = (new TriviaService())->all();
return $this;
}
}