kahlan\cli\Kahlan::run PHP Method

run() public method

Run the workflow.
public run ( )
    public function run()
    {
        if (!defined('KAHLAN_FUNCTIONS_EXIST') && (!defined('KAHLAN_DISABLE_FUNCTIONS') || !KAHLAN_DISABLE_FUNCTIONS)) {
            fwrite(STDERR, "Kahlan's global functions are missing because of some naming collisions with another library.\n");
            exit(-1);
        }
        $this->_start = microtime(true);
        return Filter::on($this, 'workflow', [], function ($chain) {
            $this->_bootstrap();
            $this->_interceptor();
            $this->_namespaces();
            $this->_patchers();
            $this->_load();
            $this->_reporters();
            $this->_matchers();
            $this->_run();
            $this->_reporting();
            $this->_stop();
            $this->_quit();
        });
    }