/**
  * @param bool $shade
  * @return string
  */
 public function getColor($shade = false)
 {
     $this->color = WifiSecurity::$colors[$this->wifiSecurity->getId()];
     return Color::GetRandomColor($this->color, $shade);
 }
Example #2
0
 /**
  * @param bool $shade
  * @return string
  */
 public function getColor($shade = false)
 {
     return Color::GetRandomColor(Source::$colors[$this->source->getId()], $shade);
 }