public function containsFilter($haystack, $needle)
    {
        if (empty($needle)) {
            return $haystack;
        }

        return (strpos($haystack, (string) $needle) !== false);
    }
public function containsFilter($haystack, $needle)
    {
        if (empty($needle)) {
            return $haystack;
        }

        return (strpos($haystack, (string) $needle) !== false);
    }
public function containsFilter ( $ haystack , $ needle ) { if ( empty ( $ needle ) ) { return $ haystack ; } return ( strpos ( $ haystack , ( string ) $ needle ) !== false ) ; }
determine if a string contains another

@param string $haystack
@param string $needle

@return bool
determine if a string contains another