InvalidAttachedFilePathException
extends InvalidArgumentException
in package
添付ファイルのパスが値の形式に関する規則を満たさない。
攻撃の可能性がある入力を含むため、メッセージには理由の識別子だけを持たせ、 生の値は self::$context に分離して拒否ログへ渡す。
Table of Contents
Properties
- $context : array<string|int, mixed>
- $rejection : AttachedFilePathRejection
Methods
- __construct() : mixed
Properties
$context read-only
public
array<string|int, mixed>
$context
= []
$rejection read-only
public
AttachedFilePathRejection
$rejection
Methods
__construct()
public
__construct(AttachedFilePathRejection $rejection[, array<string, string> $context = [] ]) : mixed
Parameters
- $rejection : AttachedFilePathRejection
-
拒否した理由
- $context : array<string, string> = []
-
拒否ログへ流す文脈(フィールド名・拒否した値)