Completed
Pull Request — master (#10)
by Alice
03:35
created

ExceptionThread::getMethodName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Wonderland\Thread\Tests\Implementation;
4
5
use Wonderland\Thread\AbstractThread;
6
7
class ExceptionThread extends AbstractThread
8
{
9
10
	/**
11
	 * Return the name of the method to process during the thread
12
	 *
13
	 * @return string
14
	 */
15
	protected function getMethodName(): string
16
	{
17
		return 'method';
18
	}
19
20
	/**
21
	 * Return the list of dependencies that will be passed as parameters of the method referenced by getMethodName
22
	 *
23
	 * @return array
24
	 */
25
	protected function getDependencies(): array
26
	{
27
		return ['toto'];
28
	}
29
30
}
31