Skip to content

Commit

Permalink
Merge pull request #147 from Lx45/BugFix_when_using_action_in_lenses
Browse files Browse the repository at this point in the history
fixes ExportLensActionRequest
  • Loading branch information
patrickbrouwers committed May 20, 2022
2 parents 860daaf + 07b6a30 commit ac7f1ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Requests/ExportLensActionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,14 @@ public function availableLenses()

return $this->resourceInstance->availableLenses($this);
}

/**
* Determine if the request is for all matching resources.
*
* @return bool
*/
public function forAllMatchingResources()
{
return $this->resources === 'all';
}
}

0 comments on commit ac7f1ae

Please sign in to comment.