Seeder::seed()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
namespace TildBJ\Seeder;
3
4
/***************************************************************
5
 *  Copyright notice
6
 *
7
 *  (c) 2016 Dennis Römmich <[email protected]>
8
 *
9
 *  All rights reserved
10
 *
11
 *  This script is part of the TYPO3 project. The TYPO3 project is
12
 *  free software; you can redistribute it and/or modify
13
 *  it under the terms of the GNU General Public License as published by
14
 *  the Free Software Foundation; either version 2 of the License, or
15
 *  (at your option) any later version.
16
 *
17
 *  The GNU General Public License can be found at
18
 *  http://www.gnu.org/copyleft/gpl.html.
19
 *
20
 *  This script is distributed in the hope that it will be useful,
21
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 *  GNU General Public License for more details.
24
 *
25
 *  This copyright notice MUST APPEAR in all copies of the script!
26
 ***************************************************************/
27
28
/**
29
 * Seeder
30
 *
31
 * @author Dennis Römmich<[email protected]>
32
 * @copyright Copyright belongs to the respective authors
33
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3 or later
34
 */
35
interface Seeder
0 ignored issues
show
Coding Style introduced by
Seeder does not seem to conform to the naming convention (^[A-Z][a-zA-Z0-9]*Interface$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
36
{
37
    /**
38
     * setConnection
39
     *
40
     * @param Connection $connection
41
     * @return void
42
     */
43
    public function setConnection(Connection $connection);
44
45
    /**
46
     * Runs the Seeder process.
47
     *
48
     * @return void
49
     */
50
    public function run();
51
52
    /**
53
     * seed
54
     *
55
     * @throws Connection\NotFoundException
56
     * @return bool
57
     */
58
    public function seed();
0 ignored issues
show
Coding Style introduced by
function seed() does not seem to conform to the naming convention (^(?:is|has|should|may|supports)).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
59
60
    /**
61
     * @return string
62
     */
63
    public function getClass();
64
}
65