public function registerCustomHelpers()
    {
        foreach(glob(app_path($this->namespace.'/*')) as $helper)
        {
            $helperName = last(explode('/', $helper));
            if(!in_array($helperName, $this->customExclude))
            {
                if(in_array('*', $this->customInclude) || in_array($helperName, $this->customInclude))
                {
                    require_once $helper;
                }
            }
        }
    }
public function registerCustomHelpers()
    {
        foreach(glob(app_path($this->namespace.'/*')) as $helper)
        {
            $helperName = last(explode('/', $helper));
            if(!in_array($helperName, $this->customExclude))
            {
                if(in_array('*', $this->customInclude) || in_array($helperName, $this->customInclude))
                {
                    require_once $helper;
                }
            }
        }
    }
public function registerCustomHelpers ( ) { foreach ( glob ( app_path ( $ this -> namespace . '/*' ) ) as $ helper ) { $ helperName = last ( explode ( '/' , $ helper ) ) ; if ( ! in_array ( $ helperName , $ this -> customExclude ) ) { if ( in_array ( '*' , $ this -> customInclude ) || in_array ( $ helperName , $ this -> customInclude ) ) { require_once $ helper ; } } } }
Register custom helpers
Register custom helpers