Given the following statement
const SCENARIO_SPECIAL = 'scenario_special';
public function rules()
{
return [
['id', 'required'],
];
}
public function scenarios()
{
return [
self::SCENARIO_SPECIAL => []
];
}
If attribute ‘id’ applies to every scenario, and ‘SCENARIO_SPECIAL’ is declared with no particular attributes attached to it. Why doesn’t ‘id’ apply to ‘SCENARIO_SPECIAL’?