Skip to content
Snippets Groups Projects
Commit b006b922 authored by Dyszczo's avatar Dyszczo
Browse files

Merge branch 'feature/plugin_name' into 'master'

plugin name

See merge request !12
parents 5085922f d52dd1d4
No related branches found
Tags 2.4.0
1 merge request!12plugin name
Pipeline #8745 passed with stages
in 1 minute
## [2.4.0] - 2019-06-04
### Added
- Plugin name in plugin info
## [2.3.1] - 2019-03-25
### Fixed
- Backward compatibility
......
......@@ -34,6 +34,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
/** @var string */
private $product_id;
/** @var string */
private $plugin_name;
/** @var \DateTimeInterface */
private $release_date;
......@@ -110,6 +113,20 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
$this->product_id = $product_id;
}
/**
* @return string
*/
public function get_plugin_name() {
return $this->plugin_name;
}
/**
* @param string $plugin_name
*/
public function set_plugin_name( $plugin_name ) {
$this->plugin_name = $plugin_name;
}
/**
* @return DateTimeInterface
*/
......@@ -148,7 +165,7 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
/**
* @param $value
*/
public function set_text_domain($value) {
public function set_text_domain( $value ) {
$this->text_domain = $value;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment