How to access Plugin Variable in Plugin?
You can access your plugin via

Plugin::getInstance()


You can then access its components defined by setComponents

Plugin::getInstance()-&gt;componentName


Or 

Plugin::getInstance()-&gt;get('componentName')


If you just want to get properties of your main plugin class it's the same way as above. Not sure what you mean exactly by Plugin Variable