4 * This file is part of the Prophecy.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
6 * Marcello Duarte <marcello.duarte@gmail.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Prophecy\PhpDocumentor;
14 use phpDocumentor\Reflection\DocBlock;
15 use phpDocumentor\Reflection\DocBlock\Tag\MethodTag as LegacyMethodTag;
18 * @author Théo FIDRY <theo.fidry@gmail.com>
22 final class LegacyClassTagRetriever implements MethodTagRetrieverInterface
25 * @param \ReflectionClass $reflectionClass
27 * @return LegacyMethodTag[]
29 public function getTagList(\ReflectionClass $reflectionClass)
31 $phpdoc = new DocBlock($reflectionClass->getDocComment());
33 return $phpdoc->getTagsByName('method');