-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'd like to know if there is any way to resolve classes which were instantiated inside a __construct. It is very commom in frameworks that use Dependency Injection.
Example:
namespace App\Http\Controllers;
use App\Repositories\VideosRepository;
class VideoController extends Controller
{
public function __construct(VideosRepository $videosRepo)
{
$this->videosRepo = $videosRepo;
}
}
In this case, if a create a new method inside this classe and type $this->videosRepo-> i'd like to be shown the methods of the class VideosRepository.
Thanks in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels