NoAction::created()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php
2
/**
3
 * laravel-assets: asset management for Laravel 5
4
 *
5
 * Copyright (c) 2021 Greg Roach
6
 *
7
 * This program is free software: you can redistribute it and/or modify
8
 * it under the terms of the GNU General Public License as published by
9
 * the Free Software Foundation, either version 3 of the License, or
10
 * (at your option) any later version.
11
 *
12
 * This program is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
 * GNU General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU General Public License
18
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
19
 */
20
21
namespace Fisharebest\LaravelAssets\Notifiers;
22
23
use Fisharebest\LaravelAssets\SetStateTrait;
24
25
class NoAction implements NotifierInterface
26
{
27
    use SetStateTrait;
28
29
    /**
30
     * This notifier doesn't actually do anything.
31
     * It's used by the unit tests.
32
     *
33
     * You can use it as a template to create your own notifier.
34
     *
35
     * @param string $asset The filename of the asset.
36
     */
37
    public function created($asset)
38
    {
39
        // $asset was just created.  Copy it somewhere.
40
    }
41
}
42