src/UpdateWatcher.php
protected function updatePluginData()
    {
        $this->pluginBaseName = \plugin_basename($this->pluginFile);
        $this->pluginSlug = dirname($this->pluginBaseName);
        $this->pluginData = \get_plugin_data($this->pluginFile);
    }
protected function updatePluginData()
    {
        $this->pluginBaseName = \plugin_basename($this->pluginFile);
        $this->pluginSlug = dirname($this->pluginBaseName);
        $this->pluginData = \get_plugin_data($this->pluginFile);
    }
protected function updatePluginData ( ) { $ this -> pluginBaseName = \ plugin_basename ( $ this -> pluginFile ) ; $ this -> pluginSlug = dirname ( $ this -> pluginBaseName ) ; $ this -> pluginData = \ get_plugin_data ( $ this -> pluginFile ) ; }
Gather plugin data from the file

@note This is in a separate method because it doesn't need to be ran each time the constructor is initialized, only when callbacks are used
Gather plugin data from the file