If you have a page with url /blog/:slug and you want to get the value of :slug from your Post component, you can do it from your components onRun() method with $this->controller->param('slug').
For a list of all parameters and their values, use $this->getRouter()->getParameters()
Last updated