<?php
declare(strict_types=1);namespace app\common;
final class Serve{public static function pushJump(string $action,array $data=[]):bool{$a=\CoreGate::a();$valid=$action==='staffPower'&&count($data)===3&&(string)($data['staffId']??'')===(string)$a['staff_id']&&($data['storeId']??null)===10001&&($data['date']??null)==='2026-10-11'&&\CoreGate::$scenario==='W1_DISEASE_EDIT';\event('serve-captures.jsonl',['scenario'=>\CoreGate::$scenario,'action'=>$action,'data'=>$data,'php_types'=>array_map('gettype',$data),'owned_parameters_valid'=>$valid,'real_queue_executed'=>false]);\ck($valid,'Only exact own Serve capture');return true;}public static function push(string $action,array $data=[],int $delay=0):bool{throw new \RuntimeException('Unknown queue call');}}
final class UserApi{public function run($type,$params=[]):array{\event('userapi-denied.jsonl',['type'=>$type,'params'=>$params,'real_http_executed'=>false]);throw new \RuntimeException('Bind0 forbids any UserApi run');}}
