src/Filters/StopWordsFilter.php
/**
     * Check if the stop word is in the list
     * @param string $token 
     */
Check if the stop word is in the list
@param string $token
Check if the stop word is in the list @param string $token
public function transform($token)
    {
        if(isset($this->stopWords[$token])) {
            return null;
        }
        return $token;
    }
public function transform ( $ token ) { if ( isset ( $ this -> stopWords [ $ token ] ) ) { return null ; } return $ token ; }
Check if the stop word is in the list
 @param string $token
Check if the stop word is in the list @param string $token