kernel/private/classes/ezpkernelweb.php
public function runCallback( \Closure $callback, $postReinitialize = true )
    {
        $this->requestInit();

        try
        {
            $return = $callback();
        }
        catch ( Exception $e )
        {
            $this->shutdown( $postReinitialize );
            throw $e;
        }

        $this->shutdown( $postReinitialize );

        return $return;
    }
public function runCallback( \Closure $callback, $postReinitialize = true )
    {
        $this->requestInit();

        try
        {
            $return = $callback();
        }
        catch ( Exception $e )
        {
            $this->shutdown( $postReinitialize );
            throw $e;
        }

        $this->shutdown( $postReinitialize );

        return $return;
    }
public function runCallback ( \ Closure $ callback , $ postReinitialize = true ) { $ this -> requestInit ( ) ; try { $ return = $ callback ( ) ; } catch ( Exception $ e ) { $ this -> shutdown ( $ postReinitialize ) ; throw $ e ; } $ this -> shutdown ( $ postReinitialize ) ; return $ return ; }
Run a callback function in legacy environment
Run a callback function in legacy environment