public function getPlugin() {
	
		$folder = $this->getBaseFolder() . '/' . strtolower(str_replace(array(' ', '_'), '', $this->name));
		$dateReleased = $this->dateReleased->format('Y-m-d');
		
		// special parameters for Template plugin
		$options = [
			'derived' => (string)\intval($this->derived),
			'palette' => implode(',', $this->palette)
		];
		
		$plugin = new Plugin('Template', $this->name, $this->version, $dateReleased, $this->appVersion, $folder, $options);
	
		return $plugin;
	
	}
public function getPlugin() {
	
		$folder = $this->getBaseFolder() . '/' . strtolower(str_replace(array(' ', '_'), '', $this->name));
		$dateReleased = $this->dateReleased->format('Y-m-d');
		
		// special parameters for Template plugin
		$options = [
			'derived' => (string)\intval($this->derived),
			'palette' => implode(',', $this->palette)
		];
		
		$plugin = new Plugin('Template', $this->name, $this->version, $dateReleased, $this->appVersion, $folder, $options);
	
		return $plugin;
	
	}
public function getPlugin ( ) { $ folder = $ this -> getBaseFolder ( ) . '/' . strtolower ( str_replace ( array ( ' ' , '_' ) , '' , $ this -> name ) ) ; $ dateReleased = $ this -> dateReleased -> format ( 'Y-m-d' ) ; // special parameters for Template plugin $ options = [ 'derived' => ( string ) \ intval ( $ this -> derived ) , 'palette' => implode ( ',' , $ this -> palette ) ] ; $ plugin = new Plugin ( 'Template' , $ this -> name , $ this -> version , $ dateReleased , $ this -> appVersion , $ folder , $ options ) ; return $ plugin ; }
Creates and returns the Plugin object of this Template object.

@return	Plugin

@see		PluginInterface::getPlugin()
Creates and returns the Plugin object of this Template object .