autorunMustBeEnabled() public static method

public static autorunMustBeEnabled ( )
Beispiel #1
0
<?php

namespace mageekguy\atoum;

use mageekguy\atoum\scripts;
require_once __DIR__ . '/../classes/autoloader.php';
if (defined(__NAMESPACE__ . '\\scripts\\runner') === false) {
    define(__NAMESPACE__ . '\\scripts\\runner', __FILE__);
}
if (scripts\runner::autorunMustBeEnabled() === true) {
    scripts\runner::enableAutorun(constant(__NAMESPACE__ . '\\scripts\\runner'));
}