Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add docs for the Mime component#10886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
fabpot wants to merge2 commits intosymfony:masterfromfabpot:mime-component-docs

Conversation

@fabpot
Copy link
Member

@fabpotfabpotforce-pushed themime-component-docs branch 3 times, most recently fromdef17b7 to97e2b48CompareJanuary 16, 2019 08:03
fabpot added a commit to symfony/symfony that referenced this pull requestJan 17, 2019
This PR was squashed before being merged into the 4.3-dev branch (closes#29896).Discussion----------[Mime] Add the component| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | yes| Tests pass?   | yes| Fixed tickets |#28832#21985 makes#15460 trivial| License       | MIT| Doc PR        |symfony/symfony-docs#10886This has been on my todo-list for X years :)Commits-------bdca5d9 tweaked code5268389 [Mime] added freedesktop as a source for mime types74ca91d [Mime] added the componentd7ee0ec [HttpFoundation] updated File code
Instead of adding comments about possible changes, I've decided to commit them. Revert totally or partially if you disagree with them. Thanks!
**Purpose**: Add a custom MIME type guesser to MimeTypes

To add a custom MIME type guesser - in addition to the core guessers - create a
class that implements:class:`Symfony\\Component\\Mime\\MimeTypes`, register it
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is itMimeTypesInterface ?

==================

The MIME component provides utilities related to MIME types, such as
guessing the MIME type of a given file.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

If the scope of the component is just media types rather than MIME as a whole, could it be named as such instead?

@OskarStark
Copy link
Contributor

Looks like the code was merged, can we merge this too and announce this new component?

@javiereguiluz
Copy link
Member

Closing because we've added all these contents to#11280, which documents the entire Mime component.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

+4 more reviewers

@pborrelipborrelipborreli left review comments

@thewilkybarkidthewilkybarkidthewilkybarkid left review comments

@PierstovalPierstovalPierstoval requested changes

@tony-trantony-trantony-tran left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

8 participants

@fabpot@OskarStark@javiereguiluz@pborreli@thewilkybarkid@Pierstoval@tony-tran@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp