PHP code example of dockcodes / dock-thor-symfony
1. Go to this page and download the library: Download dockcodes/dock-thor-symfony 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/ */
dockcodes / dock-thor-symfony example snippets
return [
// ...
Dock\Thor\Symfony\ThorBundle::class => ['all' => true],
];
public function __construct(private HubInterface $thor) {}
public function import(): void
{
try {
$this->run();
} catch (\Throwable $exception) {
$this->thor->captureException($exception);
}
}