App\Ninja\Repositories\BaseRepository::getInstance PHP 메소드

getInstance() 개인적인 메소드

private getInstance ( ) : mixed
리턴 mixed
    private function getInstance()
    {
        $className = $this->getClassName();
        return new $className();
    }