Skip to content

Instantly share code, notes, and snippets.

Created May 22, 2012 07:47
Show Gist options
  • Save anonymous/2767398 to your computer and use it in GitHub Desktop.
Save anonymous/2767398 to your computer and use it in GitHub Desktop.
a.php
if (false === $pos = strrpos($this->controller[0], '\\__CG__\\')) {
$class = $this->controller[0];
} else {
$class = substr($class, $pos + 8);
}
$this->params = $this->queryParamReader->read(new \ReflectionClass($class), $this->controller[1]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment