mageekguy\atoum\scripts\runner::addConfigurationCallable PHP Метод

addConfigurationCallable() публичный статический Метод

public static addConfigurationCallable ( callable $callable )
$callable callable
    public static function addConfigurationCallable(callable $callable)
    {
        static::$configurationCallables[] = $callable;
    }

Usage Example

Пример #1
0
<?php

use mageekguy\atoum;
use mageekguy\atoum\scripts;
if (defined('mageekguy\\atoum\\scripts\\runner') === true && version_compare(constant('mageekguy\\atoum\\version'), '2.9.0-beta', '>=') === true) {
    scripts\runner::addConfigurationCallable(function (atoum\configurator $script, atoum\runner $runner) {
        $extension = new atoum\blackfire\extension($script);
        $extension->addToRunner($runner);
    });
}
All Usage Examples Of mageekguy\atoum\scripts\runner::addConfigurationCallable