| 1 | <?php |
||||||
| 2 | |||||||
| 3 | namespace Soheilrt\AdobeConnectClient\Client\Commands; |
||||||
| 4 | |||||||
| 5 | use Soheilrt\AdobeConnectClient\Client\Abstracts\Command; |
||||||
| 6 | |||||||
| 7 | /** |
||||||
| 8 | * Ends the session. |
||||||
| 9 | * |
||||||
| 10 | * More info see {@link https://helpx.adobe.com/content/help/en/adobe-connect/webservices/logout.html} |
||||||
| 11 | */ |
||||||
| 12 | class Logout extends Command |
||||||
| 13 | { |
||||||
| 14 | /** |
||||||
| 15 | * {@inheritdoc} |
||||||
| 16 | * |
||||||
| 17 | * @return bool |
||||||
| 18 | */ |
||||||
| 19 | protected function process() |
||||||
| 20 | { |
||||||
| 21 | $this->client->doGet([ |
||||||
|
0 ignored issues
–
show
|
|||||||
| 22 | 'action' => 'logout', |
||||||
| 23 | 'session' => $this->client->getSession(), |
||||||
|
0 ignored issues
–
show
The method
getSession() does not exist on Soheilrt\AdobeConnectCli...lient\Abstracts\Command.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces. This is most likely a typographical error or the method has been renamed. Loading history...
|
|||||||
| 24 | ]); |
||||||
| 25 | $this->client->setSession(''); |
||||||
|
0 ignored issues
–
show
The method
setSession() does not exist on Soheilrt\AdobeConnectCli...lient\Abstracts\Command.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces. This is most likely a typographical error or the method has been renamed. Loading history...
|
|||||||
| 26 | |||||||
| 27 | return true; |
||||||
| 28 | } |
||||||
| 29 | } |
||||||
| 30 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.