Prose\ForeachHostWithRole::__call PHP Метод

__call() публичный Метод

public __call ( $moduleName, $params )
    public function __call($moduleName, $params)
    {
        // what are we doing?
        $log = usingLog()->startAction("for each host with role '{$this->roleName}' ...");
        // get the hosts details
        $hostsDetails = $this->retrieveHostsDetails();
        // build the iterator that we're going to use
        $return = new DelayedHostsModuleIterator($this->st, $hostsDetails, $moduleName);
        // all done
        $log->endAction();
        return $return;
    }
ForeachHostWithRole