Completed
Push — master ( 36fe59...f86360 )
by Peter
05:04
created

Source::__toString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This software package is licensed under New BSD license.
5
 *
6
 * @package maslosoft/zamm
7
 * @licence New BSD
8
 *
9
 * @copyright Copyright (c) Peter Maselkowski <[email protected]>
10
 *
11
 */
12
13
namespace Maslosoft\Zamm;
14
15
use Maslosoft\Zamm\Interfaces\SourceAccessorInterface;
16
17
/**
18
 * Source extractor for code fragments.
19
 * This class extracts source code for specified code elements.
20
 *
21
 * @author Piotr Maselkowski <pmaselkowski at gmail.com>
22
 */
23
class Source implements SourceAccessorInterface
24
{
25
26
	use Traits\SourceMagic;
27
28
	public function __construct($className = null)
29
	{
30
		
31
	}
32
33
	/**
34
	 * Should return source of method `$name` or static function
35
	 */
36
	public function __call($name, $arguments)
37
	{
38
39
	}
40
41
	/**
42
	 * Should return source of property `$name`
43
	 */
44
	public function __get($name)
0 ignored issues
show
Unused Code introduced by
The parameter $name is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
45
	{
46
47
	}
48
49
	/**
50
	 * Should return source of working class
51
	 */
52
	public function __toString()
53
	{
54
55
	}
56
57
	public static function __callStatic($name, $arguments)
58
	{
59
60
	}
61
62
	public function method($name)
63
	{
64
		
65
	}
66
67
	public function property($name)
68
	{
69
70
	}
71
72
73
}
74