Completed
Push — master ( 907d49...2bf803 )
by Rigel Kent
04:29
created

NullConverter::saveTo()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Cion\TextToSpeech\Converters;
4
5
use Cion\TextToSpeech\Contracts\Converter;
6
use Cion\TextToSpeech\Traits\Sourceable;
7
use Cion\TextToSpeech\Traits\Storable;
8
9
class NullConverter implements Converter
10
{
11
    use Storable, Sourceable;
12
13
    /**
14
     * Converts the text to speech.
15
     *
16
     * @param mixed $data
17
     * @param array $options
18
     * @return void
19
     */
20
    public function convert($data, array $options = null)
21
    {
22
        return $this->store($data);
23
    }
24
}
25