Hello, I found whereCode() function in /Corals/core/Settings/Classes/Settings.php. I can't find this function definition anywhere. Could you help me about how this function works?
1 Answers
Hello,
This is native Laravel code convention you use as shortcut so instead of writing
where('code', ??);
you can also refer it as
whereCode(??)
at vendorlaravelframeworksrcIlluminateDatabaseQueryBuilder.php
public function __call($method, $parameters)if (Str::startsWith($method, 'where')) {
return $this->dynamicWhere($method, $parameters);
}
Please login or Register to submit your answer