function ApiController::checkSetup

Returns the information about current PHP server used for build tests.

Return value

\Symfony\Component\HttpFoundation\Response The response.

1 string reference to 'ApiController::checkSetup'
package_manager_test_api.routing.yml in core/modules/package_manager/tests/modules/package_manager_test_api/package_manager_test_api.routing.yml
core/modules/package_manager/tests/modules/package_manager_test_api/package_manager_test_api.routing.yml

File

core/modules/package_manager/tests/modules/package_manager_test_api/src/ApiController.php, line 126

Class

ApiController
Provides API endpoints to interact with a stage directory in functional test.

Namespace

Drupal\package_manager_test_api

Code

public function checkSetup() : Response {
    return new Response('max_execution_time=' . ini_get('max_execution_time') . ':set_time_limit-exists=' . (function_exists('set_time_limit') ? 'yes' : 'no'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.