Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- metodaKojaPoziva {
- methodOne($argumentKojiTreba)
- methodTwo($argumentKojiTreba)
- }
- methodOne($argumentKojiTreba) {
- if('contactData' != $property || $value == null) {
- return
- }
- if (Contact::class == $resourceClass) {
- $this->filterForContacts($queryBuilder, $parameterName, $value);
- }
- }
- methodTwo($argumentKojiTreba) {
- if ('order' != $property || isset($value['contactData']) == null || null == $value['contactData']) {
- return;
- }
- if (Contact::class == $resourceClass) {
- $this->sortForContacts($queryBuilder, $value['contactData']);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement