I was with the version of Laravel 4.2.7 installed on my computer.
I missed two important methods in Illuminate\Database\Eloquent\Builder
, which is whereDoesntHave
and doesntHave
.
When running a composer update
it upgraded to version 4.2.11 , and these two methods finally appeared in Builder
of Eloquent
.
From this problem, I realized the importance of knowing which version of Laravel I'm working on.
How do I know which version of Laravel I'm using (I looked in source code and did not find it)?
Is there any way to do this via Composer
or do you have any files in Laravel 4
that saves the current version (in a comment or something like this)?