protected function setMobile(): bool
	{
		if (is_array($this->config->mobiles) && $this->config->mobiles)
		{
			foreach ($this->config->mobiles as $key => $val)
			{
				if (false !== (stripos($this->agent, $key)))
				{
					$this->isMobile = true;
					$this->mobile   = $val;

					return true;
				}
			}
		}

		return false;
	}
protected function setMobile(): bool
	{
		if (is_array($this->config->mobiles) && $this->config->mobiles)
		{
			foreach ($this->config->mobiles as $key => $val)
			{
				if (false !== (stripos($this->agent, $key)))
				{
					$this->isMobile = true;
					$this->mobile   = $val;

					return true;
				}
			}
		}

		return false;
	}
protected function setMobile ( ) : bool { if ( is_array ( $ this -> config -> mobiles ) && $ this -> config -> mobiles ) { foreach ( $ this -> config -> mobiles as $ key => $ val ) { if ( false !== ( stripos ( $ this -> agent , $ key ) ) ) { $ this -> isMobile = true ; $ this -> mobile = $ val ; return true ; } } } return false ; }
Set the Mobile Device

@return boolean
Set the Mobile Device