has() public method

Check if feed exists in configuration under 'feeds' node.
public has ( string $feed ) : boolean
$feed string Feed name
return boolean
示例#1
0
 /**
  * Check if a fake feed name is not marked as existing
  */
 public function testFeedDoNotExists()
 {
     $this->assertFalse($this->manager->has('fake_feed_name'));
 }