Support the ongoing development of Laravel.io →
VenomRush

VenomRush

Joined 27 May 2014

Statistics

Threads 17
Replies 21
Solutions 6
Articles 0

Creating a custom exception class and custom exception handler class

I'm having trouble creating a custom exception class and handler. You can see the code and details o...

Likes Replies

Using a dynamic variable to call a model

How would I go about calling a model using a dynamic variable? I thought $nameOfModel::all() would w...

Likes Replies

Custom function to sanitize data received in xml feed

I have access to a secure xml feed and I want to know what I should add to the function below to mak...

Likes Replies

Eloquent query where() confusion

I don't know how to build an eloquent query for the following: SELECT * FROM table WHERE column1 = v...

Likes Replies
Solved

Best practice advice on creating crons

I've gone through the documentation for scheduling (https://laravel.com/docs/5.2/scheduling) and I u...

Likes Replies
5 years ago

Creating a custom exception class and custom exception handler class

I can't find any instance of a handle() method in any of the classes relevant to the App\Exceptions\...

0 Likes
5 years ago

Eloquent query where() confusion

I figured out the problem. There are instances when the array passed to the function only has 1 item...

0 Likes
Solved
5 years ago

Eloquent query where() confusion

/bump This is my full function. /** * Fetch dealer id from the database * * @param $d...

0 Likes
5 years ago

Eloquent query where() confusion

So I finally tested this and it seems it doesn't work. I'm guessing the subquery considers the $acco...

0 Likes
5 years ago

Eloquent query where() confusion

Thanks ftiersch. That looks like it'll work. I'll know for sure once I test it.

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.