src/Router.php
private function setAccessControllers(): void
    {
        $this->absolutePathToAccessControllers = [];
        $route = $this->routingBasePath;

        foreach ($this->getRealArgs() as $arg)
        {
            $route .= $arg . '/';
            $path = $route . 'access.php';

            if (\is_file($path)) {
                array_unshift($this->absolutePathToAccessControllers, $path);
                break;
            }
        }
    }
private function setAccessControllers(): void
    {
        $this->absolutePathToAccessControllers = [];
        $route = $this->routingBasePath;

        foreach ($this->getRealArgs() as $arg)
        {
            $route .= $arg . '/';
            $path = $route . 'access.php';

            if (\is_file($path)) {
                array_unshift($this->absolutePathToAccessControllers, $path);
                break;
            }
        }
    }
private function setAccessControllers ( ) : void { $ this -> absolutePathToAccessControllers = [ ] ; $ route = $ this -> routingBasePath ; foreach ( $ this -> getRealArgs ( ) as $ arg ) { $ route .= $ arg . '/' ; $ path = $ route . 'access.php' ; if ( \ is_file ( $ path ) ) { array_unshift ( $ this -> absolutePathToAccessControllers , $ path ) ; break ; } } }
Set the access controller closures.

@return void
Set the access controller closures .