Skip to content
Discussion options

You must be logged in to vote

You'll have to use it as a class property instead of a variable: return $query->where('date', '>=', $this->startDate)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@airliajsmith
Comment options

@airliajsmith
Comment options

@patrickbrouwers
Comment options

@airliajsmith
Comment options

Answer selected by airliajsmith
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants