public function getSubfieldsWithCode ($code)
    {
        return array_filter($this->_subfields, function (Subfield $s) use ($code) { return $s->getCode() == $code; });
    }
public function getSubfieldsWithCode ($code)
    {
        return array_filter($this->_subfields, function (Subfield $s) use ($code) { return $s->getCode() == $code; });
    }
public function getSubfieldsWithCode ( $ code ) { return array_filter ( $ this -> _subfields , function ( Subfield $ s ) use ( $ code ) { return $ s -> getCode ( ) == $ code ; } ) ; }
Return all subfields with the specified code.

@param  string $code Subfield code
@return array
Return all subfields with the specified code .