NotLike   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A matches() 0 4 1
1
<?php
2
/**
3
 * @copyright Copyright (c) 2013-2017 2amigOS! Consulting Group LLC
4
 * @link http://2amigos.us
5
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
6
 */
7
namespace dosamigos\arrayquery\conditions;
8
9
10
/**
11
 * NotLike checks if value is not within the data searched.
12
 *
13
 * @author Antonio Ramirez <[email protected]>
14
 * @link http://www.ramirezcobos.com/
15
 * @link http://www.2amigos.us/
16
 * @package dosamigos\arrayquery\conditions
17
 */
18
class NotLike extends Like
19
{
20
    /**
21
     * @inheritdoc
22
     */
23
    public function matches($data)
24
    {
25
        return !parent::matches($data);
26
    }
27
}
28