Completed
Push — master ( 401ef4...2832e5 )
by yuuki
02:02
created

MessageDrivenModule::registerPointCut()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
5
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
6
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
8
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
9
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
10
 * THE SOFTWARE.
11
 *
12
 * This software consists of voluntary contributions made by many individuals
13
 * and is licensed under the MIT license.
14
 *
15
 * Copyright (c) 2015-2017 Yuuki Takezawa
16
 *
17
 */
18
namespace Ytake\LaravelAspect\Modules;
19
20
use Ytake\LaravelAspect\PointCut\PointCutable;
21
use Ytake\LaravelAspect\PointCut\MessageDrivenPointCut;
22
23
/**
24
 * Class MessageDrivenModule
25
 */
26
class MessageDrivenModule extends AspectModule
27
{
28
    /** @var array */
29
    protected $classes = [];
30
31
    /**
32
     * @return PointCutable
33
     */
34
    public function registerPointCut()
35
    {
36
        return new MessageDrivenPointCut;
37
    }
38
}
39