TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Mvc\Cli\Response Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Mvc\Cli\Response:
TYPO3\CMS\Extbase\Mvc\Response TYPO3\CMS\Extbase\Mvc\ResponseInterface Tx_Extbase_MVC_CLI_Response

Public Member Functions

 setExitCode ($exitCode)
 
 getExitCode ()
 
 send ()
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Mvc\Response
 setContent ($content)
 
 appendContent ($content)
 
 getContent ()
 
 shutdown ()
 
 __toString ()
 

Private Attributes

 $exitCode = 0
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Extbase\Mvc\Response
 $content = NULL
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! A CLI specific response implementation

http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later

Definition at line 21 of file Response.php.

Member Function Documentation

◆ getExitCode()

TYPO3\CMS\Extbase\Mvc\Cli\Response::getExitCode ( )

Rets the numerical exit code which should be returned when exiting this application.

Returns
integer

Definition at line 49 of file Response.php.

References TYPO3\CMS\Extbase\Mvc\Cli\Response\$exitCode.

◆ send()

TYPO3\CMS\Extbase\Mvc\Cli\Response::send ( )

Renders and sends the whole web response

Returns
void

Definition at line 59 of file Response.php.

References TYPO3\CMS\Extbase\Mvc\Response\shutdown().

◆ setExitCode()

TYPO3\CMS\Extbase\Mvc\Cli\Response::setExitCode (   $exitCode)

Sets the numerical exit code which should be returned when exiting this application.

Parameters
integer$exitCode
Exceptions

Definition at line 36 of file Response.php.

References TYPO3\CMS\Extbase\Mvc\Cli\Response\$exitCode.

Member Data Documentation

◆ $exitCode

TYPO3\CMS\Extbase\Mvc\Cli\Response::$exitCode = 0
private