hyperf / hyperf/model-cache

Add a connection

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

/**
* Fetch a model from cache with specified connection.
* @param int|string $id
* @param class-string $class
* @param string|null $connection
*/
public function findFromCache($id, string $class, ?string $connection = null): ?Model

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue only identifies findFromCache($id, string $class, ?string $connection = null) and its intended connection parameter; no source file or test is named. Start by locating this method and its cache behavior, then determine the expected connection-specific behavior and add coverage showing the change is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.