mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 07:49:27 +00:00
Created components helper
This commit is contained in:
parent
a37eb0f621
commit
773280973b
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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user