FakeProcessResult
Illuminate\Process\FakeProcessResult
class src/Illuminate/Process/FakeProcessResult.php
__construct
v11.0.0 以前から
__construct(string $command = '', int $exitCode = 0, array|string $output = '', array|string $errorOutput = '')
@param string $command
@param int $exitCode
@param array|string $output
@param array|string $errorOutput
-
v11.0.0
追加
- 変更後
__construct(string $command = '', int $exitCode = 0, array|string $output = '', array|string $errorOutput = '') [@param string $command, @param int $exitCode, @param array|string $output, @param array|string $errorOutput, @return void]
-
v12.4.0
シグネチャ変更
- 変更前
__construct(string $command = '', int $exitCode = 0, array|string $output = '', array|string $errorOutput = '') [@param string $command, @param int $exitCode, @param array|string $output, @param array|string $errorOutput, @return void]- 変更後
__construct(string $command = '', int $exitCode = 0, array|string $output = '', array|string $errorOutput = '') [@param string $command, @param int $exitCode, @param array|string $output, @param array|string $errorOutput]
command
v11.0.0 以前から
command()
@return string
-
v11.0.0
追加
- 変更後
command() [@return string]
errorOutput
v11.0.0 以前から
errorOutput()
@return string
-
v11.0.0
追加
- 変更後
errorOutput() [@return string]
exitCode
v11.0.0 以前から
exitCode()
@return int
-
v11.0.0
追加
- 変更後
exitCode() [@return int]
failed
v11.0.0 以前から
failed()
@return bool
-
v11.0.0
追加
- 変更後
failed() [@return bool]
output
v11.0.0 以前から
output()
@return string
-
v11.0.0
追加
- 変更後
output() [@return string]
seeInErrorOutput
v11.0.0 以前から
seeInErrorOutput(string $output)
@param string $output
@return bool
-
v11.0.0
追加
- 変更後
seeInErrorOutput(string $output) [@param string $output, @return bool]
seeInOutput
v11.0.0 以前から
seeInOutput(string $output)
@param string $output
@return bool
-
v11.0.0
追加
- 変更後
seeInOutput(string $output) [@param string $output, @return bool]
successful
v11.0.0 以前から
successful()
@return bool
-
v11.0.0
追加
- 変更後
successful() [@return bool]
throw
v11.0.0 以前から
throw(?callable $callback = null)
@param callable|null $callback
@return $this
throwIf
v11.0.0 以前から
throwIf(bool $condition, ?callable $callback = null)
@param bool $condition
@param callable|null $callback
@return $this
-
v11.0.0
追加
- 変更後
throwIf(bool $condition, callable $callback = null) [@param bool $condition, @param callable|null $callback, @return $this]
-
v11.3.0
シグネチャ変更
- 変更前
throwIf(bool $condition, callable $callback = null) [@param bool $condition, @param callable|null $callback, @return $this]- 変更後
throwIf(bool $condition, ?callable $callback = null) [@param bool $condition, @param callable|null $callback, @return $this]
withCommand
v11.0.0 以前から
withCommand(string $command)
@param string $command
@return self
-
v11.0.0
追加
- 変更後
withCommand(string $command) [@param string $command, @return self]