PHP Class Webmozart\Console\Args\StringArgs

Since: 1.0
Author: Bernhard Schussek ([email protected])
Inheritance: implements Webmozart\Console\Api\Args\RawArgs
Show file Open project: webmozart/console Class Usage Examples

Public Methods

Method Description
__construct ( string $string ) Creates the console arguments.
getScriptName ( )
getTokens ( )
hasToken ( $token )
toString ( $scriptName = true )

Method Details

__construct() public method

Creates the console arguments.
public __construct ( string $string )
$string string The console arguments string.

getScriptName() public method

public getScriptName ( )

getTokens() public method

public getTokens ( )

hasToken() public method

public hasToken ( $token )

toString() public method

public toString ( $scriptName = true )