public static function findLike($like = [], $sql = '')
    {
        $items = DB::findLike(static::getTable(), $like, $sql);
        return static::wrap($items);
    }
public static function findLike($like = [], $sql = '')
    {
        $items = DB::findLike(static::getTable(), $like, $sql);
        return static::wrap($items);
    }
public static function findLike ( $ like = [ ] , $ sql = '' ) { $ items = DB :: findLike ( static :: getTable ( ) , $ like , $ sql ) ; return static :: wrap ( $ items ) ; }
Tries to find beans matching the specified type and
criteria set.

If the optional additional SQL snippet is a condition, it will
be glued to the rest of the query using the AND operator.

@param array  $like optional criteria set describing the bean to search for
@param string $sql  optional additional SQL for sorting

@return Collection
Tries to find beans matching the specified type and criteria set .