Support the ongoing development of Laravel.io →
petercoles

petercoles

Joined 3 Feb 2014

Statistics

Threads 0
Replies 21
Solutions 4
Articles 0

petercoles has not posted any threads yet

replied 11 years ago

How to mock App::make() on UnitTesting

Try ... public function test_MethodToTest() { $dependency = m::mock(); $dependency->shou...

0 Likes
replied 11 years ago

not work blade and google maps

Your code works fine for me, provided I give the the map-canvas div a real height. You're using a %...

0 Likes
replied 11 years ago

How to reference this object's "belongsTo" user?

Sentry has its own User model. Does your User model that, and if so, have you ensured that your Sent...

0 Likes
Solved
replied 11 years ago

Where/how often do you do an Auth check?

Exactly. It's the routes that should be protected - not the methods that they invoke.

0 Likes
replied 11 years ago

Passing multiple arrays to a view

$array1 = ... ; $array2 = ... ; $array3 = ... ; View::make('name-of-view', compact('array1', 'array2...

0 Likes
Solved

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.

© 2026 Laravel.io - All rights reserved.