title: Loading a model from a directory outside of APP in CI4
body: <p>I would like to load a model in Codeigniter 4 from a directory outside of the normal model directory I want to load it from /WorkFlowModels instead of /app/models</p>
  <p>I have the following code</p>
  <pre><code>namespace App\Controllers;
  
  use CodeIgniter\Config\Factories;
  use CodeIgniter\HTTP\IncomingRequest;
  use CodeIgniter\HTTP\RequestInterface;
  use CodeIgniter\HTTP\ResponseInterface;
  use Psr\Log\LoggerInterface;
  use App\Models\CollectionModel;
  use CodeIgniter\Controller;
  
  
  
  class Workflow extends Controller {
  
    protected $Collection      = '';
    private   $ModelDir        = '../app/WorkFlowModels/';
  
    public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
    {
           parent::initController($request, $response, $logger);
           $this-&gt;Session = \Config\Services::session();
    }
  
  
    public function GetActions()
    {
  
    
  
      foreach(scandir($this-&gt;ModelDir) as $Model)
      {
          if($Model == '..' || $Model == '.')
            continue;
  
          //Remove .php extension
          $Model = pathinfo($Model, PATHINFO_FILENAME);
  
  
           new \WorkFlowModels\TestModel();
      }
     
  
  
    }
  
  }
  </code></pre>
  <p>When I try and initialize it with new \WorkFlowModels\TestModel(); it throws an error of Class 'WorkFlowModels\TestModel' not found</p>
  <p>This is what my model looks like at the moment</p>
  <pre><code>namespace \WorkFlowModels;
  
  use App\Libraries\MongoDb;
  
  class TestModel {
  
    private $Collection   = '';
  
    public function check()
    {
      echo 'testing';
    }
  }
  </code></pre>