Support the ongoing development of Laravel.io →

dbudwin

Joined 26 Jan 2017

Statistics

Threads 1
Replies 4
Solutions 0
Articles 0
posted 7 years ago

Issue with Mockery when injecting multiple mocked objects into controller

I'm using Mockery in my Laravel based PHP project to help test a Laravel MVC controller. Below is th...

0 Likes
0 Replies
replied 7 years ago

Add New Element to Item in the Collection

If you're trying to add a column (like your comment says) you need to run a migration: https://larav...

0 Likes
replied 7 years ago

Trying to get property of non-object One to one relationship eloquent (URGENT)

A few more things...Can you post the whole error message, sometimes it tells you a file and a line n...

0 Likes
replied 7 years ago

Trying to get property of non-object One to one relationship eloquent (URGENT)

Try removing the compact around your books array and edit your original post with how your code look...

0 Likes
replied 7 years ago

Trying to get property of non-object One to one relationship eloquent (URGENT)

I think you're foreach loop is wrong in the HTML. Try... @foreach ($books as $book) Notice how I pl...

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.