setRemoteFilename() public method

sets the name of the local ini file
public setRemoteFilename ( string $name = null ) : IniLoader
$name string the file name
return IniLoader
Example #1
0
 /**
  *
  */
 public function testGetRemoteIniUrl()
 {
     $this->object->setRemoteFilename(IniLoader::PHP_INI_LITE);
     self::assertSame('http://browscap.org/stream?q=Lite_PHP_BrowscapINI', $this->object->getRemoteIniUrl());
     $this->object->setRemoteFilename(IniLoader::PHP_INI);
     self::assertSame('http://browscap.org/stream?q=PHP_BrowscapINI', $this->object->getRemoteIniUrl());
     $this->object->setRemoteFilename(IniLoader::PHP_INI_FULL);
     self::assertSame('http://browscap.org/stream?q=Full_PHP_BrowscapINI', $this->object->getRemoteIniUrl());
 }