has() public method

Checks if a variable has been set.
public has ( string $key ) : boolean
$key string Key
return boolean Variable status
Beispiel #1
0
 function testHas()
 {
     $this->app->set('d', 1);
     $this->assertTrue($this->app->has('d'));
 }