src/Http/CookieStore.php
protected function _assertCookieRestriction()
    {
        $stat = false;
        if ( php_sapi_name() !== 'cli' ) {
            if ( headers_sent() )
                throw new \Exception('Headers was sent, cookies must be sent before any output from your script.');

            $stat = true;
        }

        if ( false === $stat )
            throw new \Exception('Session Cant Be Initialized.');
    }
protected function _assertCookieRestriction()
    {
        $stat = false;
        if ( php_sapi_name() !== 'cli' ) {
            if ( headers_sent() )
                throw new \Exception('Headers was sent, cookies must be sent before any output from your script.');

            $stat = true;
        }

        if ( false === $stat )
            throw new \Exception('Session Cant Be Initialized.');
    }
protected function _assertCookieRestriction ( ) { $ stat = false ; if ( php_sapi_name ( ) !== 'cli' ) { if ( headers_sent ( ) ) throw new \ Exception ( 'Headers was sent, cookies must be sent before any output from your script.' ) ; $ stat = true ; } if ( false === $ stat ) throw new \ Exception ( 'Session Cant Be Initialized.' ) ; }
Check Cookie Protocol Restriction

@throws \Exception
Check Cookie Protocol Restriction