mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
More getters
This commit is contained in:
parent
62399ac021
commit
c64ddc5039
|
|
@ -144,6 +144,19 @@ class InfoManager
|
|||
return $this->info['name']['internal'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get info data.
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn
|
||||
*/
|
||||
public function getExternalName() : string
|
||||
{
|
||||
return $this->info['name']['external'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get info data.
|
||||
*
|
||||
|
|
@ -183,6 +196,19 @@ class InfoManager
|
|||
return $this->info['directory'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get info category.
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Dennis Eichhorn
|
||||
*/
|
||||
public function getCategory() : string
|
||||
{
|
||||
return $this->info['category'] ?? '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get info data.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user