public function __construct(App $app = null, $param = null) { $this->app = $app; $this->container = $app->getContainer(); $this->undefinedObject = $param; }