AcmePhp\Cli\Action\PushSftpAction::getLastError PHP Method

getLastError() protected method

protected getLastError ( League\Flysystem\AdapterInterface $adapter ) : string
$adapter League\Flysystem\AdapterInterface
return string
    protected function getLastError(AdapterInterface $adapter)
    {
        return $adapter->getConnection()->getLastSFTPError();
    }