api-8.x-1.x-dev/tests/files/sample_namespace/no_namespace.php
tests/files/sample_namespace/no_namespace.php
<?php
/**
* @file No namespace here.
*/
/**
* Sample class not in a namespace.
*/
class ClassQ {
/**
* A method.
*/
static function bMethod() {
// This should turn into a link to the YML file, as if it were config.
$my_config
->get('sample.routing');
}
}
/**
* And a function name.
*/
function another_function() {
// This should turn into a link to the yml file.
$foo
->url('user_register');
}
