TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
typo3
sysext
extbase
Classes
Object
Container
ClassInfo.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extbase\Object\Container
;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
21
class
ClassInfo
22
{
28
private
$className
;
29
43
private
$constructorArguments
;
44
51
private
$injectMethods
;
52
59
private
$injectProperties
;
60
66
private
$isSingleton
=
false
;
67
73
private
$isInitializeable
=
false
;
74
83
public
function
__construct
(
$className
, array
$constructorArguments
, array
$injectMethods
,
$isSingleton
=
false
,
$isInitializeable
=
false
, array
$injectProperties
= array())
84
{
85
$this->className =
$className
;
86
$this->constructorArguments =
$constructorArguments
;
87
$this->injectMethods =
$injectMethods
;
88
$this->injectProperties =
$injectProperties
;
89
$this->
isSingleton
=
$isSingleton
;
90
$this->isInitializeable =
$isInitializeable
;
91
}
92
98
public
function
getClassName
()
99
{
100
return
$this->className
;
101
}
102
108
public
function
getConstructorArguments
()
109
{
110
return
$this->constructorArguments
;
111
}
112
118
public
function
getInjectMethods
()
119
{
120
return
$this->injectMethods
;
121
}
122
128
public
function
getInjectProperties
()
129
{
130
return
$this->injectProperties
;
131
}
132
138
public
function
getIsSingleton
()
139
{
140
return
$this->isSingleton
;
141
}
142
148
public
function
getIsInitializeable
()
149
{
150
return
$this->isInitializeable
;
151
}
152
158
public
function
hasInjectMethods
()
159
{
160
return
!empty($this->injectMethods);
161
}
162
166
public
function
hasInjectProperties
()
167
{
168
return
!empty($this->injectProperties);
169
}
170
}
Generated on Wed Nov 11 2015 01:51:51 for TYPO3 by
1.8.3