Completed
Push — master ( a2c256...20e03b )
by Shcherbak
02:35
created

Submit::isClicked()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
  /**
4
   * @author Ivan Shcherbak <[email protected]>
5
   */
6
  namespace Fiv\Form\Element;
7
8
  /**
9
   * Class Submit
10
   * Generate <input type="submit" /> element
11
   *
12
   * @package Fiv\Form
13
   */
14
  class Submit extends \Fiv\Form\Element\Input {
15
16
    /**
17
     * @var array
18
     */
19
    protected $attributes = [
20
      'type' => 'submit',
21
    ];
22
23
24
  }