public function run(Operation $operation, $isMain = true)
{
if ($this->waitStrategy instanceof StatefulWaiter && true === $isMain) {
$this->waitStrategy->resetState();
}
try {
return $this->runner->run($operation);
} catch (\Throwable $e) {
// treated below
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"intro": "Clapham is a district in South West London and is a relatively affluent area with a good range of dental practices offering treatments to both NHS and Private patients. Practices in the area offer numerous services, including general dentistry, cosmetic dentistry, and orthodontics. If you are looking for a suitable dentist in Clapham, you are sure to find one that will fit your needs.", | |
"metadescription": "Looking for the best dentists in the Clapham area? Browse our list of top private, mixed and NHS dentists in Clapham.", | |
"practitioners": [ | |
{ | |
"description": "Ocean Dental Implant and Aesthetic Clinic, located in the heart of Manchester, is a beacon of excellence in dental care, offering a wide array of services that cater to every dental need. From general and cosmetic dentistry to specialist treatments and nervous patient care, Ocean Dental stands out with its multi-award-winning practice. With state-of-the-art technology such as digital smile design, Invisalign clear braces, and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Common\UI\Normalizer; | |
use Doctrine\Common\Util\ClassUtils; | |
/** | |
* Normalize a DTO into a JSON payload. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Common\UI\Json; | |
use App\Common\UI\Normalizer\Json; | |
use App\Common\UI\Normalizer\Normalizer; | |
use App\Common\UI\Normalizer\V1\FormErrorRfc7807Normalizer; | |
use Symfony\Component\HttpFoundation\JsonResponse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {ElementRef, Injectable} from "@angular/core"; | |
@Injectable() | |
export class DataTableHorizontalScroller { | |
private static readonly DATATABLE_BODY_CSS_SELECTOR = '.datatable-body'; | |
private static readonly SCROLL_DISTANCE_IN_PX = 100; | |
private lastScrollLeft: number; | |
public constructor( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class A | |
{ | |
public function methodA() | |
{ | |
echo 'A'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$stdOutWriter = new atoum\writers\std\out(); | |
$cliReport = new atoum\reports\realtime\cli(); | |
$cliReport->addWriter($stdOutWriter); | |
$cliReport | |
->addField( | |
new atoum\report\fields\runner\failures\execute\unix\phpstorm('/home/gmorel/Tools/PhpStorm-138.2001.2328/bin/phpstorm.sh') | |
) | |
; | |
$runner->addReport($cliReport); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file allow to test that the console wideness influence | |
* the way the console output is displayed | |
*/ | |
namespace Symfony\Component\Console\Tests\Tester; | |
use Symfony\Component\Console\Application; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<service id="base.thelia2_fundation.template.listener" class="BaseTemplate\Listener\TemplateListener" scope="request"> | |
<argument type="service" id="thelia.parser"/> | |
<tag name="kernel.event_subscriber"/> | |
</service> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function computeAssetUrl($assetType, $params, \Smarty_Internal_Template $template) | |
{ | |
$file = $params['file']; | |
$assetOrigin = isset($params['source']) ? $params['source'] : "0"; | |
$filters = isset($params['filters']) ? $params['filters'] : ''; | |
$debug = isset($params['debug']) ? trim(strtolower($params['debug'])) == 'true' : false; | |
$webAssetTemplate = isset($params['template']) ? $params['template'] : false; | |
/* we trick here relative thinking for file attribute */ | |
$file = ltrim($file, '/'); |