Nabble\SemaltBlocker\Updater::getBlocklistFilename PHP Method

getBlocklistFilename() public static method

public static getBlocklistFilename ( ) : string
return string
    public static function getBlocklistFilename()
    {
        return __DIR__ . DIRECTORY_SEPARATOR . static::$blocklist;
    }

Usage Example

 protected function setUp()
 {
     parent::setUp();
     $this->originalPath = \Nabble\SemaltBlocker\Updater::getBlocklistFilename();
     $this->backupPath = str_replace('blocked', $this->backupFilename, $this->originalPath);
     file_put_contents($this->backupPath, file_get_contents($this->originalPath));
 }
All Usage Examples Of Nabble\SemaltBlocker\Updater::getBlocklistFilename