Prose\FromTargetsTable::getCurrentTestEnvironment PHP Method

getCurrentTestEnvironment() public method

getTargetsTable
public getCurrentTestEnvironment ( ) : object
return object The targets table
    public function getCurrentTestEnvironment()
    {
        // what are we doing?
        $log = usingLog()->startAction("get the current test environment from the targets table");
        // which test environment are we working with?
        $testEnvName = $this->st->getTestEnvironmentName();
        // get the table
        $table = fromRuntimeTable($this->entryKey)->getGroupFromTable($testEnvName);
        // all done
        $log->endAction();
        return $table;
    }