/usr/share/php/TokenReflection/IReflectionNamespace.php is in php-tokenreflection 1.3.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | <?php
/**
* PHP Token Reflection
*
* Version 1.3.1
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this library in the file LICENSE.
*
* @author Ondřej Nešpor
* @author Jaroslav Hanslík
*/
namespace TokenReflection;
/**
* Common reflection namespace interface.
*/
interface IReflectionNamespace extends IReflection
{
/**
* Returns if the namespace contains a class of the given name.
*
* @param string $className Class name
* @return boolean
*/
public function hasClass($className);
/**
* Return a class reflection.
*
* @param string $className Class name
* @return \TokenReflection\IReflectionClass
*/
public function getClass($className);
/**
* Returns class reflections.
*
* @return array
*/
public function getClasses();
/**
* Returns class names (FQN).
*
* @return array
*/
public function getClassNames();
/**
* Returns class unqualified names (UQN).
*
* @return array
*/
public function getClassShortNames();
/**
* Returns if the namespace contains a constant of the given name.
*
* @param string $constantName Constant name
* @return boolean
*/
public function hasConstant($constantName);
/**
* Returns a constant reflection.
*
* @param string $constantName Constant name
* @return \TokenReflection\IReflectionConstant
*/
public function getConstant($constantName);
/**
* Returns constant reflections.
*
* @return array
*/
public function getConstants();
/**
* Returns constant names (FQN).
*
* @return array
*/
public function getConstantNames();
/**
* Returns constant unqualified names (UQN).
*
* @return array
*/
public function getConstantShortNames();
/**
* Returns if the namespace contains a function of the given name.
*
* @param string $functionName Function name
* @return boolean
*/
public function hasFunction($functionName);
/**
* Returns a function reflection.
*
* @param string $functionName Function name
* @return \TokenReflection\IReflectionFunction
*/
public function getFunction($functionName);
/**
* Returns function reflections.
*
* @return array
*/
public function getFunctions();
/**
* Returns function names (FQN).
*
* @return array
*/
public function getFunctionNames();
/**
* Returns function unqualified names (UQN).
*
* @return array
*/
public function getFunctionShortNames();
/**
* Returns the string representation of the reflection object.
*
* @return string
*/
public function __toString();
}
|