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

Update PHP examples to reflect changes as of 2.2 #2719

Closed
Labels
actionableClear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)
Milestone
@wouterj

Description

@wouterj

The Routing component had alot of deprecations in 2.2. The PHP examples of the configuration blocks aren't updated to follow these changes.

Example:

..configuration-block::.. ...    ..code-block::php        // ...        $collection->addCollection($loader->import("..."), '/admin');

Should become:

..configuration-block::.. ...    ..code-block::php        // ...        $acmeHello = $loader->import("...");        $acmeHello->setPrefix('/admin');        $collection->addCollection($acmeHello);

Please note that the first change, the change of the routing option names, is already fixed in the documetation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableClear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp