Skip to content

Commit

Permalink
Add hidden data handler
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Mar 18, 2020
1 parent 33748dc commit ebb0d0b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/DataHandlers/HiddenDataHandler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
namespace Packaged\Form\DataHandlers;

use Packaged\Form\Decorators\HiddenInputDecorator;
use Packaged\Form\Decorators\Interfaces\DataHandlerDecorator;

class HiddenDataHandler extends AbstractDataHandler
{
protected function _defaultDecorator(): DataHandlerDecorator
{
return new HiddenInputDecorator();
}
}

0 comments on commit ebb0d0b

Please sign in to comment.