public function __construct($factory) { parent::__construct(); $this->factory = new NCallback($factory); }