Arrayable::fromArray()
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
3
namespace BestServedCold\PhalueObjects\Contract;
4
5
/**
6
 * Interface Arrayable
7
 *
8
 * @package BestServedCold\PhalueObjects\Contract
9
 */
10
interface Arrayable
0 ignored issues
show
Coding Style introduced by
Arrayable 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...
11
{
12
    /**
13
     * @param  array  $array
14
     * @return static
15
     */
16
    public static function fromArray(array $array);
17
18
    /**
19
     * @return array
20
     */
21
    public function toArray();
22
}
23