Support the ongoing development of Laravel.io →
sherwinncnadev

sherwinncnadev

Joined 5 Feb 2014

Statistics

Threads 16
Replies 14
Solutions 1
Articles 0

Instantiating objects base from type

Hi, I'm currently working on the fetching part of my project and I encountered a bit of a problem. I...

Likes Replies

Issue encountered when using the specification pattern + repository pattern

Hi, So I'm creating a route where you would pass a string and it would return all the products havin...

Likes Replies

Problem sharing a session using the redis driver.

Hi guys! I was experimenting on sharing a session between two laravel applications using the redis d...

Likes Replies

What steps should I take to reduce Laravel's high CPU load?

Hi everyone, We just went live with our Laravel website (hooray!) but of course going live with some...

Likes Replies

How to create a variable accessible to all controllers and views?

Hi guys! The reason I'm asking this is because I created an Ad class. My current setup right now is...

Likes Replies
Solved

Instantiating objects base from type

Also, If different product types have different attributes, how should my repository create function...

0 Likes

Issue encountered when using the specification pattern + repository pattern

My specification class implements an interface that requires the class to create a toSql function, I...

0 Likes

How to create a variable accessible to all controllers and views?

@Stolz Thanks! I finally decided to use Laravel's IoC!

0 Likes

How to create a variable accessible to all controllers and views?

I have an object that I want to be accessible within controllers and views.

0 Likes

Relationships

The first solution that popped in my head is you could create a recursive function that accepts an e...

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.