public function __construct($object, array $types = array()) { parent::__construct($object, 'mixed'); $this->types = $types; }