for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace yiicod\jobqueue\base;
use Exception;
/**
* DaemonExceptionHandler
*
* @author Virchenko Maksim <[email protected]>
*/
class FatalThrowableError extends Exception
{
* FatalThrowableError constructor.
* @param string $e
* @param int $code
* @param Exception|null $previous
public function __construct($e, $code = 0, Exception $previous = null)
$this->message = $e->getMessage();
getMessage
$e
string
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.
$this->file = $e->getFile();
getFile
$this->line = $e->getLine();
getLine
}
Methods can only be called on objects. This check looks for methods being called on variables that have been inferred to never be objects.