Ping.php in DRD Agent 8.3
Same filename and directory in other branches
Namespace
Drupal\drd_agent\Agent\ActionFile
src/Agent/Action/Ping.phpView source
<?php
namespace Drupal\drd_agent\Agent\Action;
/**
* Provides a 'Ping' code.
*/
class Ping extends Base {
/**
* {@inheritdoc}
*/
public function execute() {
return [
'data' => 'pong',
];
}
}