__invoke()
__invoke(string|\phpDocumentor\Descriptor\DescriptorAbstract $node) : string|false
Generates a URL from the given node or returns false if unable.
Parameters
string|\phpDocumentor\Descriptor\DescriptorAbstract | $node |
Generates relative URLs with elements for use in the generated HTML documentation.
__invoke(string|\phpDocumentor\Descriptor\DescriptorAbstract $node) : string|false
Generates a URL from the given node or returns false if unable.
string|\phpDocumentor\Descriptor\DescriptorAbstract | $node |
<?php
/**
* phpDocumentor
*
* PHP Version 5.3
*
* @copyright 2010-2014 Mike van Riel / Naenius (http://www.naenius.com)
* @license http://www.opensource.org/licenses/mit-license.php MIT
* @link http://phpdoc.org
*/
namespace phpDocumentor\Transformer\Router\UrlGenerator;
use phpDocumentor\Descriptor\DescriptorAbstract;
/**
* Generates relative URLs with elements for use in the generated HTML documentation.
*/
interface UrlGeneratorInterface
{
/**
* Generates a URL from the given node or returns false if unable.
*
* @param string|DescriptorAbstract $node
*
* @return string|false
*/
public function __invoke($node);
}