PHP Classes
elePHPant
Icontem

File: vendor/phpdocumentor/type-resolver/examples/03-resolving-all-elements.php

Recommend this page to a friend!
  Classes of Renato De Oliveira Lucena  >  PHP Pokemon Script  >  vendor/phpdocumentor/type-resolver/examples/03-resolving-all-elements.php  >  Download  
File: vendor/phpdocumentor/type-resolver/examples/03-resolving-all-elements.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 2 years ago
Size: 591 bytes
 

 

Contents

Class file image Download
<?php

use phpDocumentor\Reflection\Types\Context;
use
phpDocumentor\Reflection\FqsenResolver;

require
'../vendor/autoload.php';

$fqsenResolver = new FqsenResolver();

// Will use the namespace and aliases to resolve to a Fqsen object
$context = new Context('\phpDocumentor\Types');

// Method named: \phpDocumentor\Types\Types\Resolver::resolveFqsen()
var_dump((string)$fqsenResolver->resolve('Types\Resolver::resolveFqsen()', $context));

// Property named: \phpDocumentor\Types\Types\Resolver::$keyWords
var_dump((string)$fqsenResolver->resolve('Types\Resolver::$keyWords', $context));