/usr/share/php/Symfony/Component/Config/Builder
NameSizeModeActions
ClassBuilder.php45330644editdlrm
ConfigBuilderGenerator.php148400644editdlrm
ConfigBuilderGeneratorInterface.php6680644editdlrm
ConfigBuilderInterface.php7020644editdlrm
Method.php6280644editdlrm
Property.php14790644editdlrm
Edit: /usr/share/php/Symfony/Component/Config/Builder/Property.php (1479B)
* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Config\Builder; /** * Represents a property when building classes. * * @internal * * @author Tobias Nyholm */ class Property { private $name; private $originalName; private $array = false; private $type = null; private $content; public function __construct(string $originalName, string $name) { $this->name = $name; $this->originalName = $originalName; } public function getName(): string { return $this->name; } public function getOriginalName(): string { return $this->originalName; } public function setType(string $type): void { $this->array = false; $this->type = $type; if ('[]' === substr($type, -2)) { $this->array = true; $this->type = substr($type, 0, -2); } } public function getType(): ?string { return $this->type; } public function getContent(): ?string { return $this->content; } public function setContent(string $content): void { $this->content = $content; } public function isArray(): bool { return $this->array; } }