for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of expect package.
*
* (c) Noritaka Horio <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace expect\config;
use expect\Configuration;
use expect\ResultReporter;
* Runtime configuration
* @author Noritaka Horio <[email protected]>
* @copyright Noritaka Horio <[email protected]>
class RuntimeConfiguration implements Configuration
{
use ConfigurableConfiguration;
* @param \expect\PackageRegistrar[] $matcherRegistrars package registrars
* @param ResultReporter $resultReporter reporter of result
public function __construct(array $matcherRegistrars = [], ResultReporter $resultReporter = null)
$this->resultReporter = $resultReporter;
$this->matcherRegistrars = $matcherRegistrars;
}