Prose\FromTargetsTable::getCurrentTestEnvironmentSignature PHP Method

getCurrentTestEnvironmentSignature() public method

    public function getCurrentTestEnvironmentSignature()
    {
        // what are we doing?
        $log = usingLog()->startAction("do we already have the test environment defined in the targets table?");
        // which test environment are we working with?
        $testEnvName = $this->st->getTestEnvironmentName();
        // get the full targets table
        $targetsTable = fromRuntimeTable($this->entryKey)->getTable();
        //var_dump($hostsTable);
        // does the test environment exist?
        if (!isset($targetsTable->{$testEnvName})) {
            $log->endAction('no signature found');
            return '';
        }
        // no, it does not
        $return = $targetsTable->{$testEnvName};
        $log->endAction($return);
        return $return;
    }