PHP code example of hauerheinrich / typo3_monitor_api
1. Go to this page and download the library: Download hauerheinrich/typo3_monitor_api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hauerheinrich / typo3_monitor_api example snippets
final class GetSomething implements IOperation
{
public function __construct(
private readonly ConnectionPool $connectionPool, // core services via constructor
) {}
public function execute(array $parameter, ServerRequestInterface $request): OperationResult
{
return new OperationResult(true, [[ 'data' => '...' ]]);
}
}