leadvertex / plugin-component-developer
This package is abandoned and no longer maintained.
The author suggests using the https://github.com/leadvertex/plugin-component-info package instead.
LeadVertex plugin developer information component
0.1.1
2020-11-30 19:05 UTC
Requires
- php: >=7.4
- ext-json: *
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2020-12-01 23:21:41 UTC
README
\Leadvertex\Plugin\Components\Developer\Developer
- component for represent information
about plugin developer
Installation
composer require leadvertex/plugin-component-developer
Configuration
\Leadvertex\Plugin\Components\Developer\Developer::config( 'Tony Stark', 'support@starkindustries.com', 'starkindustries.com' );
Usage
echo Developer::getInstance()->getName(); //Will return 'Tony Stark' echo Developer::getInstance()->getEmail(); //Will return 'support@starkindustries.com' echo Developer::getInstance()->getHostname(); //Will return 'starkindustries.com'