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

Missing php header in the first script src/AppBundle/Controller/LuckyController.php #6116

Closed
Labels
Waiting feedbackhasPRA Pull Request has already been submitted for this issue.
@olberger

Description

@olberger

It seems a pretty common FAQ that the Route isn't recognized if the LuckyController.php doesn't start with the PHP header '<?php', and unfortunately that's the first code that any beginner in Symfony will try to write (copy/paste).

I'd suggest to add that header to the code inhttps://github.com/symfony/symfony-docs/blob/3.0/book/page_creation.rst#creating-a-page-route-and-controller

Hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting feedbackhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp