3 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
12 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
13 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15 * This software consists of voluntary contributions made by many individuals
16 * and is licensed under the MIT license. For more information, see
17 * <http://www.doctrine-project.org>.
20 namespace Doctrine\Common\Reflection
;
23 use ReflectionException
;
25 class StaticReflectionClass
extends ReflectionClass
28 * The static reflection parser object.
30 * @var StaticReflectionParser
32 private $staticReflectionParser;
35 * @param StaticReflectionParser $staticReflectionParser
37 public function __construct(StaticReflectionParser
$staticReflectionParser)
39 $this->staticReflectionParser
= $staticReflectionParser;
45 public function getName()
47 return $this->staticReflectionParser
->getClassName();
53 public function getDocComment()
55 return $this->staticReflectionParser
->getDocComment();
61 public function getNamespaceName()
63 return $this->staticReflectionParser
->getNamespaceName();
69 public function getUseStatements()
71 return $this->staticReflectionParser
->getUseStatements();
77 public function getMethod($name)
79 return $this->staticReflectionParser
->getReflectionMethod($name);
85 public function getProperty($name)
87 return $this->staticReflectionParser
->getReflectionProperty($name);
93 public static function export($argument, $return = false)
95 throw new ReflectionException('Method not implemented');
101 public function getConstant($name)
103 throw new ReflectionException('Method not implemented');
109 public function getConstants()
111 throw new ReflectionException('Method not implemented');
117 public function getConstructor()
119 throw new ReflectionException('Method not implemented');
125 public function getDefaultProperties()
127 throw new ReflectionException('Method not implemented');
133 public function getEndLine()
135 throw new ReflectionException('Method not implemented');
141 public function getExtension()
143 throw new ReflectionException('Method not implemented');
149 public function getExtensionName()
151 throw new ReflectionException('Method not implemented');
157 public function getFileName()
159 throw new ReflectionException('Method not implemented');
165 public function getInterfaceNames()
167 throw new ReflectionException('Method not implemented');
173 public function getInterfaces()
175 throw new ReflectionException('Method not implemented');
181 public function getMethods($filter = null)
183 throw new ReflectionException('Method not implemented');
189 public function getModifiers()
191 throw new ReflectionException('Method not implemented');
197 public function getParentClass()
199 throw new ReflectionException('Method not implemented');
205 public function getProperties($filter = null)
207 throw new ReflectionException('Method not implemented');
213 public function getShortName()
215 throw new ReflectionException('Method not implemented');
221 public function getStartLine()
223 throw new ReflectionException('Method not implemented');
229 public function getStaticProperties()
231 throw new ReflectionException('Method not implemented');
237 public function getStaticPropertyValue($name, $default = '')
239 throw new ReflectionException('Method not implemented');
245 public function getTraitAliases()
247 throw new ReflectionException('Method not implemented');
253 public function getTraitNames()
255 throw new ReflectionException('Method not implemented');
261 public function getTraits()
263 throw new ReflectionException('Method not implemented');
269 public function hasConstant($name)
271 throw new ReflectionException('Method not implemented');
277 public function hasMethod($name)
279 throw new ReflectionException('Method not implemented');
285 public function hasProperty($name)
287 throw new ReflectionException('Method not implemented');
293 public function implementsInterface($interface)
295 throw new ReflectionException('Method not implemented');
301 public function inNamespace()
303 throw new ReflectionException('Method not implemented');
309 public function isAbstract()
311 throw new ReflectionException('Method not implemented');
317 public function isCloneable()
319 throw new ReflectionException('Method not implemented');
325 public function isFinal()
327 throw new ReflectionException('Method not implemented');
333 public function isInstance($object)
335 throw new ReflectionException('Method not implemented');
341 public function isInstantiable()
343 throw new ReflectionException('Method not implemented');
349 public function isInterface()
351 throw new ReflectionException('Method not implemented');
357 public function isInternal()
359 throw new ReflectionException('Method not implemented');
365 public function isIterateable()
367 throw new ReflectionException('Method not implemented');
373 public function isSubclassOf($class)
375 throw new ReflectionException('Method not implemented');
381 public function isTrait()
383 throw new ReflectionException('Method not implemented');
389 public function isUserDefined()
391 throw new ReflectionException('Method not implemented');
397 public function newInstance($args)
399 throw new ReflectionException('Method not implemented');
405 public function newInstanceArgs(array $args = [])
407 throw new ReflectionException('Method not implemented');
413 public function newInstanceWithoutConstructor()
415 throw new ReflectionException('Method not implemented');
421 public function setStaticPropertyValue($name, $value)
423 throw new ReflectionException('Method not implemented');
429 public function __toString()
431 throw new ReflectionException('Method not implemented');