SSMLable   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 4
c 1
b 0
f 1
dl 0
loc 17
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A ssml() 0 5 1
1
<?php
2
3
namespace Cion\TextToSpeech\Traits;
4
5
trait SSMLable
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $textType;
11
12
    /**
13
     * Sets the text type to ssml default is text.
14
     *
15
     * @return $this
16
     */
17
    public function ssml()
18
    {
19
        $this->textType = 'ssml';
20
21
        return $this;
22
    }
23
}
24