Home
last modified time | relevance | path

Searched refs:class (Results 1 – 7 of 7) sorted by relevance

/web-bugs/src/
H A DAutoloader.php105 public function addClassmap($class, $path) argument
107 $this->classmap[$class] = $path;
113 * @param string $class The fully-qualified class name.
117 public function load($class) argument
120 $prefix = $class;
127 $prefix = substr($class, 0, $pos + 1);
130 $relativeClass = substr($class, $pos + 1);
144 if (!empty($this->classmap[$class])) {
145 return $this->requireFile($this->classmap[$class]) ? $this->classmap[$class] : false;
/web-bugs/docs/
H A Dcontainer.md16 class Repository
53 $data = $container->get(Repository::class)->getData();
79 Each service class is manually defined:
90 $container->set(App\Foo::class, function ($c) {
91 return new App\Foo($c->get(App\Dependency::class));
95 $container->set(App\Foo\Bar::class, function ($c) {
96 $object = new App\Foo\Bar($c->get(App\Dependency::class));
103 $container->set(App\Foo\Bar::class, function ($c) {
109 $c->get(App\Dependency::class)->methodName();
114 $container->set(App\Dependency::class, function ($c) {
H A Dtemplates.md165 class method needs to be called in the template.
/web-bugs/tests/Unit/
H A DAutoloaderTest.php82 public function testLoad(string $class, $expected): void argument
84 $this->assertEquals($expected, $this->autoloader->load($class));
/web-bugs/src/Horde/Text/
H A DDiff.php44 $class = 'Horde_Text_Diff_Engine_' . $engine;
45 $diff_engine = new $class();
/web-bugs/include/
H A Dfunctions.php707 * @param string $class name of the HTML class for the <div> tag. ("errors", "warnings")
712 function display_bug_error($in, $class = 'errors', $head = 'ERROR:') argument
720 echo "<div class='{$class}'>{$head}<ul>";
/web-bugs/
H A Dcomposer.lock478 "description": "Utility class for timing",

Completed in 12 milliseconds