public function getTemplates()
    {
        $templates_array = [];

        $templates_trait = new \ReflectionClass('App\GeoTemplates');
        $templates = $templates_trait->getMethods();

        if (! count($templates)) {
            abort('403', 'No templates have been found.');
        }

        return $templates;
    }
public function getTemplates()
    {
        $templates_array = [];

        $templates_trait = new \ReflectionClass('App\GeoTemplates');
        $templates = $templates_trait->getMethods();

        if (! count($templates)) {
            abort('403', 'No templates have been found.');
        }

        return $templates;
    }
public function getTemplates ( ) { $ templates_array = [ ] ; $ templates_trait = new \ ReflectionClass ( 'App\GeoTemplates' ) ; $ templates = $ templates_trait -> getMethods ( ) ; if ( ! count ( $ templates ) ) { abort ( '403' , 'No templates have been found.' ) ; } return $ templates ; }
Get all defined templates.
Get all defined templates .