| Total Complexity | 10 |
| Total Lines | 72 |
| Duplicated Lines | 0 % |
| Coverage | 64.29% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class MessagesDomain { |
||
| 17 | protected $messages; |
||
| 18 | protected $loader; |
||
| 19 | protected $locale; |
||
| 20 | protected $domain; |
||
| 21 | |||
| 22 | 1 | public function __construct($locale=null, LoaderInterface $loader=null, $domain=null) { |
|
| 23 | 1 | $this->locale = $locale; |
|
| 24 | 1 | $this->loader = $loader; |
|
| 25 | 1 | $this->domain = $domain; |
|
| 26 | 1 | } |
|
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @return mixed |
||
| 31 | */ |
||
| 32 | 1 | public function getMessages() { |
|
| 33 | 1 | return $this->messages; |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function getLoader() { |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | public function getLocale() { |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * |
||
| 54 | * @param mixed $messages |
||
| 55 | */ |
||
| 56 | 1 | public function setMessages($messages) { |
|
| 57 | 1 | $this->messages = $messages; |
|
| 58 | 1 | } |
|
| 59 | |||
| 60 | /** |
||
| 61 | * |
||
| 62 | * @param mixed $loader |
||
| 63 | */ |
||
| 64 | public function setLoader($loader) { |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * |
||
| 70 | * @param mixed $locale |
||
| 71 | */ |
||
| 72 | public function setLocale($locale) { |
||
| 74 | } |
||
| 75 | |||
| 76 | 1 | public function store() { |
|
| 78 | 1 | } |
|
| 79 | |||
| 80 | 1 | public function load() { |
|
| 81 | 1 | $this->messages = $this->loader->loadDomain ( $this->locale, $this->domain ); |
|
| 82 | 1 | } |
|
| 83 | /** |
||
| 84 | * @return string |
||
| 85 | */ |
||
| 86 | 1 | public function getDomain() { |
|
| 88 | } |
||
| 89 | |||
| 92 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.