⚠️ [ABANDONED] Rinvex Repository is a simple, intuitive, and smart implementation of Active Repository with extremely flexible & granular caching system for Laravel, used to abstract the data layer, making applications more flexible to maintain.
use A\B\C\ClassB;
classA
{
public $b;
public function __construct(ClassB $b)
{
$this->b = $b;
}
public function func1()
{
$this->b->update(1, ["a"=>1, "b" => 2]);
$this->func2();
}
public function func2()
{
$this->b->where(1)->where('a'=>'1')->get();
}
}
like above function func2,$this->b can not use where fucntion to query
classA.php
like above function
func2
,$this->b
can not use where fucntion to query