public function __call($name, array $arguments)
{
if (!isset($this->tags[$name])) {
throw new \BadMethodCallException();
}
$class = $this->tags[$name];
$reflect = new \ReflectionClass($class);
$instance = $reflect->newInstanceArgs($arguments);
return $instance;
}