diff --git a/classes.php b/classes.php index 0542aa0..129da24 100644 --- a/classes.php +++ b/classes.php @@ -202,6 +202,22 @@ class ActionDateC extends AbstractAction } } +class ActionParseStr extends AbstractAction +{ + public function setUp() + { + $this->setContainer( new DivContainer ); + $this->setFormatter( new DbugFormatter ); + } + + public function decode() + { + parse_str($this->value, $results); + + return $results; + } +} + interface ContainerInterface { public function wrap( $contents ); diff --git a/index.php b/index.php index 2cdbb9f..96a60d7 100644 --- a/index.php +++ b/index.php @@ -46,6 +46,7 @@ if( 'POST' === $_SERVER['REQUEST_METHOD'] ) { +