/** * Get a random symbol from the list of allowed symbols * * @return string symbol */ private function getSymbol() { return $this->faker->randomElement($this->symbols); }