src/Listeners/InitializeDirectoriesListener.php
/**
     * Handle the event.
     *
     * @param \League\Event\EventInterface $event The event that triggered the listener
     *
     * @return void
     */
Handle the event.
@param \League\Event\EventInterface $event The event that triggered the listener

@return void
Handle the event . @param \ League \ Event \ EventInterface $event The event that triggered the listener @return void
public function handle(EventInterface $event)
    {
        clearstatcache();
        $directories = $this->getLoader()->load();
        foreach ($directories as $directory) {
            $this->initializeDirectory($directory);
        }
    }
public function handle ( EventInterface $ event ) { clearstatcache ( ) ; $ directories = $ this -> getLoader ( ) -> load ( ) ; foreach ( $ directories as $ directory ) { $ this -> initializeDirectory ( $ directory ) ; } }
Handle the event.
Handle the event .
// clear the filecache // load the directories to clear //  clear the loaded directories