10
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 the whereDoesntHave
and the doesntHave
.
When executing a composer update
he upgraded to the 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 the version of Laravel I’m using (I searched the source code and did not find)?
Is there any way to do that via Composer
or have some file on Laravel 4
that stores the current version (in a comment or something like)?
Very good! That’s right
– Wallace Maxters