mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 00:25:18 +00:00
Created components helper
This commit is contained in:
15
helpers/components.php
Normal file
15
helpers/components.php
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Components helper
|
||||||
|
*
|
||||||
|
* @author Pierre HUBERT
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Easily get the component object
|
||||||
|
*
|
||||||
|
* @return Components The components object
|
||||||
|
*/
|
||||||
|
function components() : Components {
|
||||||
|
return CS::get()->components;
|
||||||
|
}
|
Reference in New Issue
Block a user