Sequenzia/lib/Rails/Exception/PHPError/Base.php

17 lines
371 B
PHP
Raw Normal View History

2013-10-02 18:14:53 +02:00
<?php
namespace Rails\Exception\PHPError;
use Rails\Exception\ErrorException;
abstract class Base extends ErrorException implements ExceptionInterface
{
protected $error_data;
public function error_data(array $edata = [])
{
if (!func_get_args())
return $this->error_data;
else
$this->error_data = $edata;
}
}