Deployer\Task\Task::isOnServer PHP Метод

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

Decide to run or not to run on this server.
public isOnServer ( string $serverName ) : boolean
$serverName string
Результат boolean
    public function isOnServer($serverName)
    {
        if (empty($this->onlyOn)) {
            return true;
        } else {
            return array_key_exists($serverName, $this->onlyOn);
        }
    }