public function _remap($method)
{
if ($method == 'some_method')
{
$this->$method();
}
else
{
$this->default_method();
}
}
This is what i read from official site. As i understand _remap method is getting called before all actions. But this instruction $this->$method();
means that calling $method will call _remap again and it is being something like cycle. Isn't it?