Support the ongoing development of Laravel.io →

Almis90

Joined 25 Jun 2014

Statistics

Threads 3
Replies 2
Solutions 1
Articles 0
posted 9 years ago

Polymorphic issue morphOne

First of all I using Laravel 4.3.. When I run this code: $user = new User; $user->...

0 Likes
2 Replies
Solved
posted 9 years ago

Change the attribute when changing language

I have translated the validation.php under the lang/en and placed it under lang/el, everything works...

0 Likes
2 Replies
posted 9 years ago

How to add `OR` operator to validation rule?

I have a table users which have some columns including username and email. I also have a form which...

0 Likes
2 Replies
Solved
replied 9 years ago

Polymorphic issue morphOne

PhillSparks solved it in chat: $this->morphOne('App/User', 'userable');

0 Likes
Solved
replied 9 years ago

Change the attribute when changing language

Is it possible to add all this attributes in a file attributes.php under the lang/el and then use La...

0 Likes

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.