PHP Class Eloquent\Composer\NpmBridge\Exception\NpmCommandFailedException

Inheritance: extends Exceptio\Exception
显示文件 Open project: eloquent/composer-npm-bridge

Public Methods

Method Description
__construct ( string $command, Exception $cause = null ) Construct a new NPM command failed exception.
command ( ) : string Get the executed command.

Method Details

__construct() public method

Construct a new NPM command failed exception.
public __construct ( string $command, Exception $cause = null )
$command string The executed command.
$cause Exception The cause, if available.

command() public method

Get the executed command.
public command ( ) : string
return string The command.