123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433 |
- <?php
- /*
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * and is licensed under the MIT license. For more information, see
- * <http://www.doctrine-project.org>.
- */
- namespace Doctrine\Common\Reflection;
- use ReflectionClass;
- use ReflectionException;
- class StaticReflectionClass extends ReflectionClass
- {
- /**
- * The static reflection parser object.
- *
- * @var StaticReflectionParser
- */
- private $staticReflectionParser;
- /**
- * @param StaticReflectionParser $staticReflectionParser
- */
- public function __construct(StaticReflectionParser $staticReflectionParser)
- {
- $this->staticReflectionParser = $staticReflectionParser;
- }
- /**
- * {@inheritDoc}
- */
- public function getName()
- {
- return $this->staticReflectionParser->getClassName();
- }
- /**
- * {@inheritDoc}
- */
- public function getDocComment()
- {
- return $this->staticReflectionParser->getDocComment();
- }
- /**
- * {@inheritDoc}
- */
- public function getNamespaceName()
- {
- return $this->staticReflectionParser->getNamespaceName();
- }
- /**
- * @return array
- */
- public function getUseStatements()
- {
- return $this->staticReflectionParser->getUseStatements();
- }
- /**
- * {@inheritDoc}
- */
- public function getMethod($name)
- {
- return $this->staticReflectionParser->getReflectionMethod($name);
- }
- /**
- * {@inheritDoc}
- */
- public function getProperty($name)
- {
- return $this->staticReflectionParser->getReflectionProperty($name);
- }
- /**
- * {@inheritDoc}
- */
- public static function export($argument, $return = false)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getConstant($name)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getConstants()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getConstructor()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getDefaultProperties()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getEndLine()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getExtension()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getExtensionName()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getFileName()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getInterfaceNames()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getInterfaces()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getMethods($filter = null)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getModifiers()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getParentClass()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getProperties($filter = null)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getShortName()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getStartLine()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getStaticProperties()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getStaticPropertyValue($name, $default = '')
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getTraitAliases()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getTraitNames()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function getTraits()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function hasConstant($name)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function hasMethod($name)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function hasProperty($name)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function implementsInterface($interface)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function inNamespace()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isAbstract()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isCloneable()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isFinal()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isInstance($object)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isInstantiable()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isInterface()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isInternal()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isIterateable()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isSubclassOf($class)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isTrait()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function isUserDefined()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function newInstance($args)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function newInstanceArgs(array $args = array())
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function newInstanceWithoutConstructor()
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function setStaticPropertyValue($name, $value)
- {
- throw new ReflectionException('Method not implemented');
- }
- /**
- * {@inheritDoc}
- */
- public function __toString()
- {
- throw new ReflectionException('Method not implemented');
- }
- }
|