SAND-framework/application/class/Implement/Conduit.php
2019-12-05 18:29:10 +01:00

22 lines
No EOL
392 B
PHP
Executable file

<?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 $this;
}
}