<?php
class AnTypeString extends KObject
{
public $value;
public function __construct($options)
{
$options = $this->_initialize($options);
$this->value = $options['value'];
}
protected function _initialize($options)
{
$default = array(
'value' => null
);
return array_merge($default, $options);
}
public function __toString()
{
return (string) $this->value;
}
}