mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 16:25:39 +08:00
Add getLibVersion and getExtVersion method for extensions and libs
This commit is contained in:
@@ -182,6 +182,16 @@ abstract class LibraryBase
|
||||
// do nothing, just throw wrong usage exception if not valid
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current lib version
|
||||
*
|
||||
* @return null|string Version string or null
|
||||
*/
|
||||
public function getLibVersion(): ?string
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get current builder object.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user