PluginProbe
Packeta / 1.6.1
Packeta v1.6.1
2.3.2 2.3.1 trunk 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.3.0 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 All 56 releases
packeta / deps / nette / php-generator / src / PhpGenerator / Constant.php

Constant.php in Packeta 1.6.1, at deps/nette/php-generator/src/PhpGenerator/Constant.php

34 lines 679 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * This file is part of the Nette Framework (https://nette.org)
5 * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6 */
7 declare (strict_types=1);
8 namespace Packetery\Nette\PhpGenerator;
9
10 use Packetery\Nette;
11 /**
12 * Class constant.
13 */
14 final class Constant
15 {
16 use \Packetery\Nette\SmartObject;
17 use Traits\NameAware;
18 use Traits\VisibilityAware;
19 use Traits\CommentAware;
20 use Traits\AttributeAware;
21 /** @var mixed */
22 private $value;
23 /** @return static */
24 public function setValue($val) : self
25 {
26 $this->value = $val;
27 return $this;
28 }
29 public function getValue()
30 {
31 return $this->value;
32 }
33 }
34