This commit is contained in:
xl
2024-11-06 21:15:11 +08:00
parent 4fe1558a7e
commit 4f31065818
+1 -1
View File
@@ -55,10 +55,10 @@ class Relation extends Component
*/
public function first(string $_identification): mixed
{
var_dump($_identification);
if (Context::exists($_identification)) {
return Context::get($_identification);
}
var_dump($_identification);
return Context::set($_identification, $this->_query[$_identification]->first());
}