Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
unresolveddependencyexception.php
1<?php
2
4
5
7{
8
10
11 protected $fieldCode;
12 protected $depends;
13
25 public function __construct(
26 $message = "",
27 $code = 0,
28 $file = "",
29 $line = 0,
30 \Exception $previous = null,
31 $fieldCode = '',
32 $depends = []
33 )
34 {
35 parent::__construct($message, $code, $file, $line, $previous);
36 $this->fieldCode = $fieldCode;
37 $this->depends = $depends;
38 }
39
43 public function getCustomData(): array
44 {
45 return parent::getCustomData() + [
46 'code' => $this->fieldCode,
47 'dependencies' => $this->depends
48 ];
49 }
50}
__construct( $message="", $code=0, $file="", $line=0, \Exception $previous=null, $fieldCode='', $depends=[])