for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Acacha\ForgePublish\Exceptions;
use Exception;
/**
* Class TimeoutException
* @package Acacha\ForgePublish\Exceptions
*/
class TimeoutException extends Exception
{
* The output returned from the operation.
*
* @var array
public $output;
* Create a new exception instance.
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct($output)
parent::__construct('Script timed out while waiting for the process to complete.');
$this->output = $output;
}
* @return array
public function output()
return $this->output;
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.