__construct() публичный Метод

public __construct ( string $errorUri, array | null $arguments = null, stdClass | null $argumentsKw = null, stdClass | null $details = null )
$errorUri string
$arguments array | null
$argumentsKw stdClass | null
$details stdClass | null
Пример #1
0
 function __construct(\yii\base\Model $model)
 {
     parent::__construct('model.validation.error', null, $model->getErrors());
 }