Cow::say()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
namespace Cowsayphp;
3
4
/**
5
 * Class Cow FOR RETRO-COMPATIBILITY PURPOSES ONLY
6
 * @package Cowsayphp
7
 */
8
class Cow
9
{
10
    public static function say($text)
11
    {
12
        $cow = Farm::create(\Cowsayphp\Farm\Cow::class);
13
        return $cow->say($text);
14
    }
15
}