<?php class PhpNw15Conference { } /** * Class Controller */ class Controller { /** * @return array */ public function __construct(PhpNw15Conference $conference) { $this->conference = $conference; } } /** Controller Resolver **/ $controller = 'Controller'; // Retrieved from URL + YAML config $action = 'speakersAction'; // Retrieved from URL + Yaml config $params = array(); // Retrieved from GET / POST parameters $reflector = new \ReflectionClass('Controller'); var_dump($reflector->getConstructor()->getParameters());
You have javascript disabled. You will not be able to edit any code.