Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 30) sorted by relevance

12

/web-bugs/config/
H A Dcontainer.php16 'mysql:host='.$c->get('db_host').';dbname='.$c->get('db_name').';charset=utf8',
17 $c->get('db_user'),
18 $c->get('db_password'),
29 return new App\Repository\BugRepository($c->get(\PDO::class));
49 return new App\Repository\PatchRepository($c->get(\PDO::class), $c->get('uploads_dir'));
65 return new App\Repository\VoteRepository($c->get(\PDO::class));
69 return new App\Template\Engine($c->get('templates_dir'));
77 return new App\Utils\GitHub($c->get(\PDO::class));
82 $c->get(\PDO::class),
83 $c->get(App\Utils\Uploader::class),
[all …]
/web-bugs/www/admin/
H A Dindex.php26 'info' => $container->get(PhpInfoRepository::class)->getInfo(),
33 'responses' => $container->get(ReasonRepository::class)->findAll(),
40 … 'mysqlVersion' => $container->get(DatabaseStatusRepository::class)->getMysqlVersion(),
41 …'numberOfRowsPerTable' => $container->get(DatabaseStatusRepository::class)->getNumberOfRowsInTable…
42 … 'statusPerTable' => $container->get(DatabaseStatusRepository::class)->getStatusOfTables(),
50 'lists' => $container->get(PackageRepository::class)->findLists(),
/web-bugs/tests/Unit/Container/
H A DContainerTest.php19 $service = new MockService($container->get(MockDependency::class));
30 $service = $container->get(MockService::class);
34 $dependency = $container->get(MockDependency::class);
64 $container->get('foo');
75 $container->get(\stdClass::class);
83 return new MockService($container->get(MockService::class));
87 return new MockService($container->get(MockService::class));
93 $container->get(MockService::class);
101 return $container->get('foo');
107 $this->assertEquals('bar', $container->get('foo'));
[all …]
/web-bugs/include/
H A Dprepend.php70 if ('dev' === $container->get('env')) {
80 $dbh = $container->get(\PDO::class);
87 $template = $container->get(Engine::class);
90 'siteScheme' => $container->get('site_scheme'),
91 'siteUrl' => $container->get('site_url'),
/web-bugs/www/
H A Dgh-pull-add.php30 $bugRepository = $container->get(BugRepository::class);
43 $captcha = $container->get(Captcha::class);
55 $pullinfo = $container->get(GitHub::class);
56 $pullRequestRepository = $container->get(PullRequestRepository::class);
107 if ('dev' === $container->get('env')) {
H A Dquick-fix-desc.php15 $reasonRepository = $container->get(ReasonRepository::class);
H A Dpatch-display.php14 $obsoletePatchRepository = $container->get(ObsoletePatchRepository::class);
15 $patchRepository = $container->get(PatchRepository::class);
16 $patchTracker = $container->get(PatchTracker::class);
41 $bugRepository = $container->get(BugRepository::class);
H A Dpatch-add.php11 $patchTracker = $container->get(PatchTracker::class);
12 $patchRepository = $container->get(PatchRepository::class);
41 $bugRepository = $container->get(BugRepository::class);
54 $captcha = $container->get(Captcha::class);
H A Dapi.php18 $commentRepository = $container->get(CommentRepository::class);
H A Dindex.php22 $id = $container->get(BugRepository::class)->findRandom();
H A Dvote.php28 if (!$container->get(BugRepository::class)->exists($id)) {
69 if (empty($container->get(VoteRepository::class)->findOneByIdAndIp($id, $ip))) {
H A Dfix.php23 $bugRepository = $container->get(BugRepository::class);
42 $reasonRepository = $container->get(ReasonRepository::class);
H A Dbug-pwd-finder.php13 $captcha = $container->get(Captcha::class);
H A Drpc.php33 $bugRepository = $container->get(BugRepository::class);
H A Dlstats.php49 $packageRepository = $container->get(PackageRepository::class);
H A Dbug.php19 $obsoletePatchRepository = $container->get(ObsoletePatchRepository::class);
20 $patchRepository = $container->get(PatchRepository::class);
127 $captcha = $container->get(Captcha::class);
134 $bugRepository = $container->get(BugRepository::class);
189 $packageRepository = $container->get(PackageRepository::class);
195 $reasonRepository = $container->get(ReasonRepository::class);
1111 $pullRequestRepository = $container->get(PullRequestRepository::class);
1122 $commentRepository = $container->get(CommentRepository::class);
/web-bugs/www/rss/
H A Dbug.php19 $bugRepository = $container->get(BugRepository::class);
32 $commentRepository = $container->get(CommentRepository::class);
/web-bugs/scripts/cron/
H A Dno-feedback15 $reasonRepository = $container->get(ReasonRepository::class);
19 foreach ($container->get(BugRepository::class)->findAllWithoutFeedback() as $bug)
H A Demail-assigned13 foreach ($container->get(BugRepository::class)->findAllAssigned() as $assigned => $binfos) {
/web-bugs/src/Container/
H A DContainerInterface.php20 public function get(string $id); function
H A DContainer.php55 public function get(string $id) function in App\\Container\\Container
/web-bugs/docs/
H A Dcontainer.md53 $data = $container->get(Repository::class)->getData();
74 $value = $container->get('parameter_key');
91 return new App\Foo($c->get(App\Dependency::class));
96 $object = new App\Foo\Bar($c->get(App\Dependency::class));
106 $c->get('parameter_key'));
109 $c->get(App\Dependency::class)->methodName();
/web-bugs/src/Utils/
H A DComposerScripts.php38 $vendorDir = $event->getComposer()->getConfig()->get('vendor-dir');
/web-bugs/www/js/
H A DMarkdown.Converter.js99 get: function (key) {
571 if (g_urls.get(link_id) != undefined) {
572 url = g_urls.get(link_id);
573 if (g_titles.get(link_id) != undefined) {
574 title = g_titles.get(link_id);
682 if (g_urls.get(link_id) != undefined) {
683 url = g_urls.get(link_id);
684 if (g_titles.get(link_id) != undefined) {
685 title = g_titles.get(link_id);
H A Djquery.autocomplete-min.js10get(0),options);};Autocomplete.prototype={killerFn:null,initialize:function(){var me,uid,autocompl…

Completed in 82 milliseconds

12