Completed
Push — master ( 45b9c9...1f87c5 )
by Nikola
03:27
created

TokenStorageAwareTrait::setTokenStorage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
/*
3
 * This file is part of the  TraitorBundle, an RunOpenCode project.
4
 *
5
 * (c) 2016 RunOpenCode
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace RunOpenCode\Bundle\Traitor\Traits;
11
12
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
13
14
trait TokenStorageAwareTrait
15
{
16
    protected $tokenStorage;
17
18
    public function setTokenStorage(TokenStorageInterface $tokenStorage)
19
    {
20
        $this->tokenStorage = $tokenStorage;
21
    }
22
}
23