X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Finterfaces%2Fproducer%2Fwork_units%2Fclass_UnitProducer.php;h=a5e1b67678c49e0ec5257b65ce39c324ca4870a4;hb=eedbbb80ac6f49f2d43e3ae9a18008a25cfdc16e;hp=31f8bcc226e64702dde911fdfcc83438f1e4e2ca;hpb=ecfe3c8077fa94964dfab3423e189db81b721a74;p=hub.git diff --git a/application/hub/interfaces/producer/work_units/class_UnitProducer.php b/application/hub/interfaces/producer/work_units/class_UnitProducer.php index 31f8bcc22..a5e1b6767 100644 --- a/application/hub/interfaces/producer/work_units/class_UnitProducer.php +++ b/application/hub/interfaces/producer/work_units/class_UnitProducer.php @@ -22,13 +22,14 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface UnitProducer extends Producer { +interface UnitProducer extends Producer, Executor { /** - * Produces some work/test units and pushes them onto the queue + * Prepares the produces of some work/test units and pushes them onto the queue * + * @param $stateInstance An instance of a Stateable instance * @return void */ - function produceUnits (); + function prepareUnitProduction (Stateable $stateInstance); } // [EOF]