Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function constructRules($rules, Languages $langs) {
- foreach ($rules as $fieldType => $rule) {
- foreach ($langs->all() as $lang) {
- //line below changes
- $langRules[$fieldType . '[' . $lang->lang . ']'] = $rule;
- }
- }
- return $langRules;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement