for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the OneGuard DynamicConfigurationBundle.
*
* (c) OneGuard <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace OneGuard\Bundle\DynamicConfigurationBundle\Exception;
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
class ProtectedReferenceException extends \Exception implements HttpExceptionInterface {
public function __construct($message = "", $code = 0, \Throwable $previous = null) {
parent::__construct($message, $code, $previous);
}
public function getStatusCode() {
return 400;
public function getHeaders() {
return [];