[Question] PHP Client Runtime?
See original GitHub issueSample code generated by AutoRest:
/**
* @param \Microsoft\Rest\RunTimeInterface $_runTime
* @param string $subscriptionId
*/
public function __construct(
\Microsoft\Rest\RunTimeInterface $_runTime,
$subscriptionId
)
{
$_client = $_runTime->createClientFromData(
self::_SWAGGER_OBJECT_DATA,
['subscriptionId' => $subscriptionId]
);
$this->_ListPets_operation = $_client->createOperation('listPets');
$this->_CreatePets_operation = $_client->createOperation('createPets');
$this->_ShowPetById_operation = $_client->createOperation('showPetById');
}
I didn’t find \Microsoft\Rest\RunTimeInterface
implementation on Azure/autorest.php or Azure/azure-sdk-for-php.
So where can I find PHP Client Runtime required for the generated code?
Can someone help? 🙂
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
How to get the run time for a PHP script - Stack Overflow
<?php $start = microtime(true); echo "This is some text that I want to know how long it took to display it.
Read more >Uncaught Error: Class 'AuthenticationContext' · Issue #76 ...
When I include require_once 'vendor/autoload.php' i found below error : Fatal error: Uncaught Error: Class 'AuthenticationContext' How can i ...
Read more >Top 64 PHP Interview Questions & Answers 2022 - Intellipaat
This blog contains the Top 64 frequently asked PHP Interview Questions and answers in ... The content can be changed even at the...
Read more >Top 50 PHP Interview Questions and Answers in 2023 | Edureka
This blog provides you with a compilation of the top PHP interview questions you might face during your job interview in 2023.
Read more >Top PHP Interview Questions (2023) - InterviewBit
Today, this article will walk you through the most commonly asked PHP interview questions for freshers and experienced in the industry.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI. My company switched to the following open-source alternatives as the support for PHP and other languages seem to be a dead end in autorest.
@fearthecowboy Subsequent question. Is there any chance that some parts for PHP can be dropped as open source code by MS? It maybe practical to resurrect that using community only.