original_string: private function getApp()
  	{
  		$stack = $this->resolve('requeststack');
  
  		if ($request = $stack->top())
  		{
  			$app = $request->getApplication();
  		}
  		else
  		{
  			$app = $this->resolve('application::__main');
  		}
  
  		return $app;
  	}
code: private function getApp()
  	{
  		$stack = $this->resolve('requeststack');
  
  		if ($request = $stack->top())
  		{
  			$app = $request->getApplication();
  		}
  		else
  		{
  			$app = $this->resolve('application::__main');
  		}
  
  		return $app;
  	}
code_tokens: private function getApp ( ) { $ stack = $ this -> resolve ( 'requeststack' ) ; if ( $ request = $ stack -> top ( ) ) { $ app = $ request -> getApplication ( ) ; } else { $ app = $ this -> resolve ( 'application::__main' ) ; } return $ app ; }
docstring: Returns the current application
  
  @return \Fuel\Foundation\Application
docstring_tokens: Returns the current application