<?php private function makeConnectionPassive(FtpConnectionOptions $options, $connection): void
{
if ( ! ftp_pasv($connection, $options->passive())) {
throw new UnableToMakeConnectionPassive(
'Could not set passive mode for connection: ' . $options->host() . '::' . $options->port()
);