protected function dirAction(string $dirPath)
    {
        $read = new $this->calledClass($this->list);
        $read->run($dirPath);
    }
protected function dirAction(string $dirPath)
    {
        $read = new $this->calledClass($this->list);
        $read->run($dirPath);
    }
protected function dirAction ( string $ dirPath ) { $ read = new $ this -> calledClass ( $ this -> list ) ; $ read -> run ( $ dirPath ) ; }
Recall ReadDirectory to read this directory
This is to avoid having the recursion error

@param string $dirPath

@return void
Recall ReadDirectory to read this directory This is to avoid having the recursion error