src/Anonym/Route/Controller.php
public function runControllerWithParameters($parameters = [])
    {
        $this->setParameters($this->toArray($parameters));


        foreach($this->callbacks as $callback){
            $this->app->call($callback);
        }
    }
public function runControllerWithParameters($parameters = [])
    {
        $this->setParameters($this->toArray($parameters));


        foreach($this->callbacks as $callback){
            $this->app->call($callback);
        }
    }
public function runControllerWithParameters ( $ parameters = [ ] ) { $ this -> setParameters ( $ this -> toArray ( $ parameters ) ) ; foreach ( $ this -> callbacks as $ callback ) { $ this -> app -> call ( $ callback ) ; } }
register parameters and run constructors

@param array $parameters
register parameters and run constructors