File tree 18 files changed +0
-49
lines changed
18 files changed +0
-49
lines changed Original file line number Diff line number Diff line change 17
17
*/
18
18
final class Attribute
19
19
{
20
- use Nette \SmartObject;
21
-
22
20
private string $ name ;
23
21
24
22
/** @var mixed[] */
Original file line number Diff line number Diff line change 17
17
*/
18
18
abstract class ClassLike
19
19
{
20
- use Nette \SmartObject;
21
20
use Traits \CommentAware;
22
21
use Traits \AttributeAware;
23
22
Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* Class description.
17
- *
18
- * @property-deprecated Method[] $methods
19
- * @property-deprecated Property[] $properties
20
17
*/
21
18
final class ClassType extends ClassLike
22
19
{
Original file line number Diff line number Diff line change 9
9
10
10
namespace Nette \PhpGenerator ;
11
11
12
- use Nette ;
13
-
14
12
15
13
/**
16
14
* Closure.
17
- *
18
- * @property-deprecated string $body
19
15
*/
20
16
final class Closure
21
17
{
22
- use Nette \SmartObject;
23
18
use Traits \FunctionLike;
24
19
use Traits \AttributeAware;
25
20
Original file line number Diff line number Diff line change 9
9
10
10
namespace Nette \PhpGenerator ;
11
11
12
- use Nette ;
13
-
14
12
15
13
/**
16
14
* Class constant.
17
15
*/
18
16
final class Constant
19
17
{
20
- use Nette \SmartObject;
21
18
use Traits \NameAware;
22
19
use Traits \VisibilityAware;
23
20
use Traits \CommentAware;
Original file line number Diff line number Diff line change 9
9
10
10
namespace Nette \PhpGenerator ;
11
11
12
- use Nette ;
13
-
14
12
15
13
/**
16
14
* Enum case.
17
15
*/
18
16
final class EnumCase
19
17
{
20
- use Nette \SmartObject;
21
18
use Traits \NameAware;
22
19
use Traits \CommentAware;
23
20
use Traits \AttributeAware;
Original file line number Diff line number Diff line change 22
22
*/
23
23
final class Extractor
24
24
{
25
- use Nette \SmartObject;
26
-
27
25
private string $ code ;
28
26
29
27
/** @var Node[] */
Original file line number Diff line number Diff line change 18
18
*/
19
19
final class Factory
20
20
{
21
- use Nette \SmartObject;
22
-
23
21
/** @var string[][] */
24
22
private array $ bodyCache = [];
25
23
Original file line number Diff line number Diff line change 9
9
10
10
namespace Nette \PhpGenerator ;
11
11
12
- use Nette ;
13
-
14
12
15
13
/**
16
14
* Global function.
17
- *
18
- * @property-deprecated string $body
19
15
*/
20
16
final class GlobalFunction
21
17
{
22
- use Nette \SmartObject;
23
18
use Traits \FunctionLike;
24
19
use Traits \NameAware;
25
20
use Traits \CommentAware;
Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* Interface description.
17
- *
18
- * @property-deprecated Method[] $methods
19
17
*/
20
18
final class InterfaceType extends ClassLike
21
19
{
Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* Class method.
17
- *
18
- * @property-deprecated string|null $body
19
17
*/
20
18
final class Method
21
19
{
22
- use Nette \SmartObject;
23
20
use Traits \FunctionLike;
24
21
use Traits \NameAware;
25
22
use Traits \VisibilityAware;
Original file line number Diff line number Diff line change 9
9
10
10
namespace Nette \PhpGenerator ;
11
11
12
- use Nette ;
13
12
use Nette \Utils \Type ;
14
13
15
14
16
15
/**
17
16
* Function/Method parameter description.
18
- *
19
- * @property-deprecated mixed $defaultValue
20
17
*/
21
18
class Parameter
22
19
{
23
- use Nette \SmartObject;
24
20
use Traits \NameAware;
25
21
use Traits \AttributeAware;
26
22
use Traits \CommentAware;
Original file line number Diff line number Diff line change 9
9
10
10
namespace Nette \PhpGenerator ;
11
11
12
- use Nette ;
13
-
14
12
15
13
/**
16
14
* Instance of PHP file.
22
20
*/
23
21
final class PhpFile
24
22
{
25
- use Nette \SmartObject;
26
23
use Traits \CommentAware;
27
24
28
25
/** @var PhpNamespace[] */
Original file line number Diff line number Diff line change 23
23
*/
24
24
final class PhpNamespace
25
25
{
26
- use Nette \SmartObject;
27
-
28
26
public const
29
27
NameNormal = 'n ' ,
30
28
NameFunction = 'f ' ,
Original file line number Diff line number Diff line change 18
18
*/
19
19
class Printer
20
20
{
21
- use Nette \SmartObject;
22
-
23
21
public int $ wrapLength = 120 ;
24
22
public string $ indentation = "\t" ;
25
23
public int $ linesBetweenProperties = 0 ;
Original file line number Diff line number Diff line change 15
15
16
16
/**
17
17
* Class property description.
18
- *
19
- * @property-deprecated mixed $value
20
18
*/
21
19
final class Property
22
20
{
23
- use Nette \SmartObject;
24
21
use Traits \NameAware;
25
22
use Traits \VisibilityAware;
26
23
use Traits \CommentAware;
Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* Trait description.
17
- *
18
- * @property-deprecated Method[] $methods
19
- * @property-deprecated Property[] $properties
20
17
*/
21
18
final class TraitType extends ClassLike
22
19
{
Original file line number Diff line number Diff line change 17
17
*/
18
18
final class TraitUse
19
19
{
20
- use Nette \SmartObject;
21
20
use Traits \NameAware;
22
21
use Traits \CommentAware;
23
22
You can’t perform that action at this time.
0 commit comments