setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $functions = new Functions($client); $result = $functions->createExecution( functionId: '', body: '', // optional async: false, // optional path: '', // optional method: ExecutionMethod::GET(), // optional headers: [], // optional scheduledAt: '' // optional );