v1.0 Initial commit of project
This commit is contained in:
62
vendor/symfony/property-info/Tests/Fixtures/DockBlockFallback.php
vendored
Normal file
62
vendor/symfony/property-info/Tests/Fixtures/DockBlockFallback.php
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\PropertyInfo\Tests\Fixtures;
|
||||
|
||||
/**
|
||||
* PhpDocExtractor should fallback from property -> accessor -> mutator when looking up docblocks.
|
||||
*
|
||||
* @author Martin Rademacher <mano@radebatz.net>
|
||||
*/
|
||||
class DockBlockFallback
|
||||
{
|
||||
/** @var string $pub */
|
||||
public $pub = 'pub';
|
||||
|
||||
protected $protAcc;
|
||||
protected $protMut;
|
||||
|
||||
public function getPub()
|
||||
{
|
||||
return $this->pub;
|
||||
}
|
||||
|
||||
public function setPub($pub)
|
||||
{
|
||||
$this->pub = $pub;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getProtAcc(): int
|
||||
{
|
||||
return $this->protAcc;
|
||||
}
|
||||
|
||||
public function setProt($protAcc)
|
||||
{
|
||||
$this->protAcc = $protAcc;
|
||||
}
|
||||
|
||||
public function getProtMut()
|
||||
{
|
||||
return $this->protMut;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $protMut
|
||||
*/
|
||||
public function setProtMut($protMut)
|
||||
{
|
||||
$this->protMut = $protMut;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user