public function __construct(ObjectManager $om, $className) { $this->om = $om; $this->className = $className; }