Passed
Pull Request — master (#600)
by Mathias
13:24
created

FeaturedCompaniesController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
eloc 3
c 1
b 0
f 1
dl 0
loc 11
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A indexAction() 0 2 1
1
<?php
2
3
/**
4
 * YAWIK
5
 *
6
 * @see       https://github.com/cross-solution/YAWIK for the canonical source repository
7
 * @copyright https://github.com/cross-solution/YAWIK/blob/master/COPYRIGHT
8
 * @license   https://github.com/cross-solution/YAWIK/blob/master/LICENSE
9
 */
10
11
declare(strict_types=1);
12
13
namespace Organizations\Controller;
14
15
use Laminas\Mvc\Controller\AbstractActionController;
16
use Organizations\Repository\Organization;
17
18
/**
19
 * TODO: description
20
 *
21
 * @author Mathias Gelhausen
22
 * TODO: write tests
23
 */
24
class FeaturedCompaniesController extends AbstractActionController
25
{
26
    private $repository;
27
28
    public function __construct(Organization $repository)
29
    {
30
        $this->repository = $repository;
31
    }
32
33
    public function indexAction()
34
    {
35
36
    }
37
}
38