Update FtpAdapterFactory.php
This commit is contained in:
parent
ef1f8a75ac
commit
8b143c5065
|
@ -47,12 +47,12 @@ class FtpAdapterFactory implements AdapterFactoryInterface
|
||||||
->scalarNode('password')->defaultNull()->end()
|
->scalarNode('password')->defaultNull()->end()
|
||||||
->booleanNode('passive')->defaultFalse()->end()
|
->booleanNode('passive')->defaultFalse()->end()
|
||||||
->booleanNode('create')->defaultFalse()->end()
|
->booleanNode('create')->defaultFalse()->end()
|
||||||
|
->booleanNode('ssl')->defaultFalse()->end()
|
||||||
->scalarNode('mode')
|
->scalarNode('mode')
|
||||||
->defaultValue(defined('FTP_ASCII') ? FTP_ASCII : null)
|
->defaultValue(defined('FTP_ASCII') ? FTP_ASCII : null)
|
||||||
->beforeNormalization()
|
->beforeNormalization()
|
||||||
->ifString()
|
->ifString()
|
||||||
->then(function($v) { return constant($v); })
|
->then(function($v) { return constant($v); })
|
||||||
->booleanNode('ssl')->defaultFalse()->end()
|
|
||||||
->end()
|
->end()
|
||||||
->end()
|
->end()
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user