FunctionalHelper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A followRedirects() 0 4 1
1
<?php
2
namespace AppBundle\Helper;
3
4
class FunctionalHelper extends AbstractSymfonyHelper
5
{
6
    /**
7
     * Sets whether to automatically follow redirects or not
8
     *
9
     * @param bool $followRedirect
10
     */
11
    public function followRedirects($followRedirect = true)
12
    {
13
        $this->getSymfonyModule()->client->followRedirects($followRedirect);
14
    }
15
}
16