Lines Matching refs:resolve

5 but also how to statically resolve the partial name of a Class into a Fully Qualified Class Name (F…
32 1. To resolve a Type or
33 2. To resolve a Fully Qualified Structural Element Name
35 The big difference between these two is in the number of things it can resolve.
37 The TypeResolver can resolve:
48 Where the FqsenResolver can resolve:
61 In order to resolve a type you will have to instantiate the class `\phpDocumentor\Reflection\TypeRe…
62 and call its `resolve` method like this:
66 $type = $typeResolver->resolve('string|integer');
80 the `\phpDocumentor\Reflection\FqsenResolver` class' `resolve` method, like this:
84 $fqsen = $fqsenResolver->resolve('\phpDocumentor\Reflection\FqsenResolver::resolve()');
87 In this example we resolve a Fully Qualified Structural Element Name (meaning that it includes the …
96 Perhaps the best feature of this library is that it knows how to resolve partial class names into f…
118 Suppose that you would want to resolve (and expand) the type in the `@var` tag and the element name…
152 After you have obtained a Context it is just a matter of passing it along with the `resolve` method…
159 $type = $typeResolver->resolve('Types\Context', $context);
168 > The resolve method of the TypeResolver only returns object with the interface `Type` and the FQSE…
172 Another example is on how to resolve the FQSEN of a method as can be seen with the `@see` tag in th…
173 resolve that you can do the following:
177 $type = $fqsenResolver->resolve('Classy::otherFunction()', $context);
181 `resolve` method of the FQSEN Resolver you will receive an `Fqsen` object that refers to