SAND-framework/application/class/Implement/Conduit.php
2020-12-09 10:26:26 +01:00

21 lines
385 B
PHP

<?php
namespace MVC\Classe\Implement;
class Conduit extends Action
{
public function initialize($var)
{
//Export variable from conduit
foreach ($var as $key => $value) {
if ($key != "controller") {
if ($key != "_route") {
$this->$key = $value;
}
}
}
return;
}
}