Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / serializer / Tests / Fixtures / StaticConstructorDummy.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Serializer\Tests\Fixtures;
13
14 class StaticConstructorDummy
15 {
16     public $foo;
17     public $bar;
18     public $quz;
19
20     public static function create($foo)
21     {
22         $dummy = new self();
23         $dummy->quz = $foo;
24
25         return $dummy;
26     }
27
28     private function __construct()
29     {
30     }
31 }