title: Codeigniter 4 Current/Active Controller
body: <p>In Codeigniter 3 is possible to get current active class and method with this code:</p>
  
  <pre><code>    $active_controller = $this-&gt;router-&gt;fetch_class();
      $active_function = $this-&gt;router-&gt;fetch_method();
  </code></pre>
  
  <p>Are there such functions in Codeigniter 4?</p>