Completed
Push — develop ( 1c3d8e...dc7d05 )
by Mohamed
07:44
created

UserMessagesSettings   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRedirectUrl() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Tinyissue package.
5
 *
6
 * (c) Mohamed Alsharaf <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Tinyissue\Http\Requests\FormRequest;
13
14
use Tinyissue\Http\Requests\Request;
15
16
/**
17
 * UserMessageSetting is a Form Request class for managing edit user message setting submission (validating, redirect, response, ...).
18
 *
19
 * @author Mohamed Alsharaf <[email protected]>
20
 */
21
class UserMessagesSettings extends Request
22
{
23
    /**
24
     * @var string
25
     */
26
    protected $formClassName = 'Tinyissue\Form\UserMessagesSettings';
27
28
    /**
29
     * @return string
30
     */
31
    protected function getRedirectUrl()
32
    {
33
        return 'user/settings/messages';
34
    }
35
}
36