src/Foundation/Bus.php
private static function session($session)
    {
        $files = ['Session'];
        $folder = static::$root.'Storage'.'/';

        self::call($files, $folder);

        $files = ['SessionKeyNotFoundException', 'SessionSurfaceIsOffException'];
        $folder = static::$root.'Storage/Exceptions'.'/';

        self::call($files, $folder);

        //Initiat the class
        if ($session) {
            Session::ini();
        }
    }
private static function session($session)
    {
        $files = ['Session'];
        $folder = static::$root.'Storage'.'/';

        self::call($files, $folder);

        $files = ['SessionKeyNotFoundException', 'SessionSurfaceIsOffException'];
        $folder = static::$root.'Storage/Exceptions'.'/';

        self::call($files, $folder);

        //Initiat the class
        if ($session) {
            Session::ini();
        }
    }
private static function session ( $ session ) { $ files = [ 'Session' ] ; $ folder = static :: $ root . 'Storage' . '/' ; self :: call ( $ files , $ folder ) ; $ files = [ 'SessionKeyNotFoundException' , 'SessionSurfaceIsOffException' ] ; $ folder = static :: $ root . 'Storage/Exceptions' . '/' ; self :: call ( $ files , $ folder ) ; //Initiat the class if ( $ session ) { Session :: ini ( ) ; } }
Call Session class.

@param bool $session

@return null
Call Session class .