File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/classes/TaxationFormReader.php
<?php
use Psr\Container\ContainerInterface;
use Slim\Interfaces\RouteParserInterface;
final class TaxationFormReader
{
protected $form;
public function __construct($fields){
$this->fields = $fields;
}
public function get($class="", array $post_data=[],$debug=false)
{
// form
$this->form = new TaxationFormData($this->fields,$post_data,$debug);
//$this->form->setAction( $this->router->urlFor("taxation.form.post") );
return $this->form;
}
}