mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Add PHPDocs
This commit is contained in:
parent
08362fb6e5
commit
6d1c6d7f61
@ -486,6 +486,11 @@ class Extension
|
|||||||
return $this->build_static;
|
return $this->build_static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the library dependencies that current extension depends on.
|
||||||
|
*
|
||||||
|
* @param bool $recursive Whether it includes dependencies recursively
|
||||||
|
*/
|
||||||
public function getLibraryDependencies(bool $recursive = false): array
|
public function getLibraryDependencies(bool $recursive = false): array
|
||||||
{
|
{
|
||||||
$ret = array_filter($this->dependencies, fn ($x) => $x instanceof LibraryBase);
|
$ret = array_filter($this->dependencies, fn ($x) => $x instanceof LibraryBase);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user