You are here

class GroupDummy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Fixtures/GroupDummy.php \Symfony\Component\Serializer\Tests\Fixtures\GroupDummy

@author Kévin Dunglas <dunglas@gmail.com>

Hierarchy

Expanded class hierarchy of GroupDummy

3 files declare their use of GroupDummy
GetSetMethodNormalizerTest.php in vendor/symfony/serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php
ObjectNormalizerTest.php in vendor/symfony/serializer/Tests/Normalizer/ObjectNormalizerTest.php
PropertyNormalizerTest.php in vendor/symfony/serializer/Tests/Normalizer/PropertyNormalizerTest.php

File

vendor/symfony/serializer/Tests/Fixtures/GroupDummy.php, line 19

Namespace

Symfony\Component\Serializer\Tests\Fixtures
View source
class GroupDummy extends GroupDummyParent implements GroupDummyInterface {

  /**
   * @Groups({"a"})
   */
  private $foo;

  /**
   * @Groups({"b", "c", "name_converter"})
   */
  protected $bar;
  private $fooBar;
  private $symfony;

  /**
   * @Groups({"b"})
   */
  public function setBar($bar) {
    $this->bar = $bar;
  }

  /**
   * @Groups({"c"})
   */
  public function getBar() {
    return $this->bar;
  }
  public function setFoo($foo) {
    $this->foo = $foo;
  }
  public function getFoo() {
    return $this->foo;
  }
  public function setFooBar($fooBar) {
    $this->fooBar = $fooBar;
  }

  /**
   * @Groups({"a", "b", "name_converter"})
   */
  public function isFooBar() {
    return $this->fooBar;
  }
  public function setSymfony($symfony) {
    $this->symfony = $symfony;
  }
  public function getSymfony() {
    return $this->symfony;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GroupDummy::$bar protected property Plugin annotation @Groups({"b", "c", "name_converter"})
GroupDummy::$foo private property Plugin annotation @Groups({"a"})
GroupDummy::$fooBar private property
GroupDummy::$symfony private property
GroupDummy::getBar public function Plugin annotation @Groups({"c"})
GroupDummy::getFoo public function
GroupDummy::getSymfony public function Plugin annotation @Groups({"a", "name_converter"}) Overrides GroupDummyInterface::getSymfony
GroupDummy::isFooBar public function Plugin annotation @Groups({"a", "b", "name_converter"})
GroupDummy::setBar public function Plugin annotation @Groups({"b"})
GroupDummy::setFoo public function
GroupDummy::setFooBar public function
GroupDummy::setSymfony public function
GroupDummyParent::$coopTilleuls private property
GroupDummyParent::$kevin private property Plugin annotation @Groups({"a"})
GroupDummyParent::getCoopTilleuls public function Plugin annotation @Groups({"a", "b"})
GroupDummyParent::getKevin public function
GroupDummyParent::setCoopTilleuls public function
GroupDummyParent::setKevin public function