Created components helper

This commit is contained in:
Pierre 2018-01-12 06:57:46 +01:00
parent a37eb0f621
commit 773280973b

15
helpers/components.php Normal file
View 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;
}