public function filter(\Closure $callback, $reindex = true) {
		$result = array_filter($this->annotations, $callback);
		
		if ($reindex) {
			$result = array_values($result);
		}
		
		return $result;
	}
public function filter(\Closure $callback, $reindex = true) {
		$result = array_filter($this->annotations, $callback);
		
		if ($reindex) {
			$result = array_values($result);
		}
		
		return $result;
	}
public function filter ( \ Closure $ callback , $ reindex = true ) { $ result = array_filter ( $ this -> annotations , $ callback ) ; if ( $ reindex ) { $ result = array_values ( $ result ) ; } return $ result ; }
Filters elements with the given callback
@param \Closure $callback
@param boolean $reindex Reset indexes
@return array
Filters elements with the given callback