Skip to content

Commit

Permalink
Merge pull request #439 from FriendsOfCake/josegonzalez-patch-1
Browse files Browse the repository at this point in the history
docs: dedent doc output
  • Loading branch information
josegonzalez committed May 13, 2017
2 parents 173d703 + 671aa73 commit 032238e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ passed in under each field in your behavior configuration.

- ``writer``: Returns a WriterInterface class name.

- Default: (string)
- Default: (string)
``Josegonzalez\Upload\File\Writer\DefaultWriter``

- ``transformer``: Returns a TransformerInterface class name. Can also be a PHP `callable`.

- Default: (string)
- Default: (string)
``Josegonzalez\Upload\File\Transformer\DefaultTransformer``

- ``path``: A path relative to the ``filesystem.root``.
Expand Down Expand Up @@ -57,12 +57,12 @@ passed in under each field in your behavior configuration.

- ``filesystem``: An array of configuration info for configuring the writer

If using the DefaultWriter, the following options are available:
If using the DefaultWriter, the following options are available:

- Options:
- Options:

- ``filesystem.root``: (default ``ROOT . DS``) Directory where files should be written to by default
- ``filesystem.adapter``: (default Local Flysystem Adapter) A Flysystem-compatible adapter. Can also be a callable that returns an adapter.
- ``filesystem.root``: (default ``ROOT . DS``) Directory where files should be written to by default
- ``filesystem.adapter``: (default Local Flysystem Adapter) A Flysystem-compatible adapter. Can also be a callable that returns an adapter.

- ``nameCallback``: A callable that can be used by the default pathProcessor to rename a file. Only handles original file naming.

Expand Down

0 comments on commit 032238e

Please sign in to comment.