public function profileMe($name, \Closure $action)
    {
        $this->startProfiling($name);
        $return = $action();
        $this->stopProfiling($name);

        return $return;
    }
public function profileMe($name, \Closure $action)
    {
        $this->startProfiling($name);
        $return = $action();
        $this->stopProfiling($name);

        return $return;
    }
public function profileMe ( $ name , \ Closure $ action ) { $ this -> startProfiling ( $ name ) ; $ return = $ action ( ) ; $ this -> stopProfiling ( $ name ) ; return $ return ; }
Profile action.

@param  string $name
@param  \Closure $action
@return mixed
Profile action .