Support the ongoing development of Laravel.io →

91 Threads

posted 10 years ago

Session class doesn't work into my Facade

Hello, I've just create my own Facade and I'd like to handle sessions in my method, But when I try t...

0 Likes
5 Replies
Solved
posted 10 years ago

Multiple bindings in a Service provider

I have created a custom service provider to bind interface to a eloquent repository: <?php name...

0 Likes
6 Replies
Solved

Using IoC in packages

I am currently in the process of developing a package. In this package I would like to use the IoC c...

0 Likes
3 Replies
Solved
posted 10 years ago

Repository pattern and Object instantiation

Hello I have recently implemented the repository pattern using Jeff Ways ace tutorials at Laracast....

0 Likes
4 Replies
Solved

ioc or parameters?

hi, i would like to ask you how would it be better to resolve dependencies. i'm not really sure to u...

0 Likes
2 Replies
Solved
posted 10 years ago

Problem in my ServiceProvider

in my register() function this, $this->app->bind('IDistrictsRepository', function() { return n...

0 Likes
2 Replies
Solved

Aliasing and building derived database column names How to make this easy ?

This one has been bugging be for months and I so far I have not found an comprehensive solution to s...

0 Likes
3 Replies
Solved

Updating a record using repository

Hi All, I have a repository to create a new record for residents, but now I need to use the same rep...

0 Likes
3 Replies
Solved
posted 10 years ago

Get dynamic properties from a Facade

Hi everybody, Is it possible to retrieve a dynamic property accessible by __get() from a Facade? Thi...

0 Likes
6 Replies
Solved

IoC Container resolution error

Hi all, i'm fighting with IoC container. My goal is to have dependency injection as in the documenta...

0 Likes
6 Replies
Solved

What is the difference between share and bind in the IoC?

Friends, I'm a few confused with some terms about IoC. With facades declarations sometimes I saw the...

0 Likes
2 Replies
Solved

How to mock facade from package?

Package Thujohn\Twitter; Twitter::shouldReceive() gives me error: Parse error: syntax error, unexpec...

0 Likes
4 Replies
Solved

One sample application for IoC, Facades and Services Provider

Please, anybody could explain the IoC, Facade and Services Provider with a short example? I have see...

0 Likes
4 Replies
Solved
posted 10 years ago

Lang::choice('setting', $count) problem when $count > 19

Hi everybody, I've been trying to localize my application and so I've been using the Lang helper fun...

0 Likes
3 Replies
Solved

Add additional filter class to composer package

I use this package in my project https://github.com/tappleby/laravel-auth-token I want to add an add...

0 Likes
5 Replies
Solved
posted 10 years ago

Class not found

I'm trying to make a repository pattern and I figured out how to make it. Now when I try to App::bin...

0 Likes
1 Replies
Solved

Laravel Base Controller

Hi folks, I'm trying to create (kind of) a base controller for some controllers. There are different...

0 Likes
3 Replies
Solved

Queue::push with an interface

Hey everyone, I'm working on integrating Bitbucket issue tracking into my project, and am having a p...

0 Likes
4 Replies
Solved
posted 10 years ago

Checking for binded data on the IoC

I've bound some data to the app and whereas I can get it out, I have one instance where based on a c...

0 Likes
2 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.