has() public static method

Check whether a configuration value exists
public static has ( string $strKey ) : boolean
$strKey string The short key
return boolean True if the configuration value exists
Ejemplo n.º 1
0
 /**
  * Checks whether a configuration value exists.
  *
  * @param string $key The short key
  *
  * @return bool True if the configuration value exists
  */
 public function has($key)
 {
     return Config::has($key);
 }