public function getIterator()
    {
        foreach ($this->reader as $line) {
            if ($this->isComment($line)) {
                continue;
            }

            yield new MimeType($line);
        }
    }
public function getIterator()
    {
        foreach ($this->reader as $line) {
            if ($this->isComment($line)) {
                continue;
            }

            yield new MimeType($line);
        }
    }
public function getIterator ( ) { foreach ( $ this -> reader as $ line ) { if ( $ this -> isComment ( $ line ) ) { continue ; } yield new MimeType ( $ line ) ; } }
Get the mime type definitions.

@return MimeType
Get the mime type definitions .