TwistPHP Documentation

closePassiveConnection

File path: dist/twist/Core/Models/FTP/Socket.model.php
Namespace: Twist\Core\Models\FTP
Extends:

closePassiveConnectionPass in a passive connection resource to be correctly closed

Parameters

Name Type Description
$resPassiveConnectionresourcen/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$resPassiveConnection = (resource);

//Call the function closePassiveConnection with the example vars
$resSocket = new \Twist\Core\Models\FTP\Socket();
$resSocket -> closePassiveConnection($resPassiveConnection);