R Robert9 Well-known member Nov 21, 2023 #2 em = entity manager has methods to fetch data for $id for the primary keys for example. So i don't need to create a finder? Entity: $structure->primaryKey = 'node_id'; Job as example $node = $app->em()->find('XF:Node', $nodeId');
em = entity manager has methods to fetch data for $id for the primary keys for example. So i don't need to create a finder? Entity: $structure->primaryKey = 'node_id'; Job as example $node = $app->em()->find('XF:Node', $nodeId');
mattrogowski Well-known member Nov 21, 2023 #5 The use statement is so PHP knows what class AbstractRebuildJob is when your class extends it.