<?php

namespace JMS\Serializer\Tests\Fixtures;

use JMS\Serializer\Annotation\Groups;
use JMS\Serializer\Annotation\Type;

/** blablub */
class GroupsObject
{
    /**
     * @Groups({"foo"})
     * @Type("string")
     */
    private $foo;

    /**
     * @Groups({"foo","bar"})
     * @Type("string")
     */
    private $foobar;

    /**
     * @Groups({"bar", "Default"})
     * @Type("string")
     */
    private $bar;

    /**
     * @Type("string")
     */
    private $none;

    public function __construct()
    {
        $this->foo = "foo";
        $this->bar = "bar";
        $this->foobar = "foobar";
        $this->none = "none";
    }
}
