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

Fixed Commit comments#2499

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

Merged
weaverryan merged 4 commits intosymfony:2.0fromwouterj:commit_comments_20
Apr 30, 2013
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletionscomponents/console/single_command_tool.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -58,15 +58,14 @@ it is possible to remove this need by extending the application::
}
}

When calling your console script, the command `MyCommand` will then always
When calling your console script, the command ``MyCommand`` will then always
be used, without having to pass its name.

You can also simplify how you execute the application::

#!/usr/bin/env php
<?php
// command.php

use Acme\Tool\MyApplication;

$application = new MyApplication();
Expand Down
2 changes: 1 addition & 1 deletioncomponents/dependency_injection/configurators.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,7 +78,7 @@ in the application::
public function loadFormatters()
{
// code to configure which formatters to use
$enabledFormatters = array();
$enabledFormatters = array(...);
// ...

$this->enabledFormatters = $enabledFormatters;
Expand Down
4 changes: 2 additions & 2 deletionscookbook/form/use_empty_data.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ you form. For example::

public function indexAction()
{
$blog =//...
$blog = ...;

// $blog is passed in as the data, so the empty_data option is not needed
$form = $this->createForm(new BlogType(), $blog);
Expand All@@ -35,8 +35,8 @@ that takes arguments. Remember, the default ``data_class`` option calls
that constructor with no arguments::

// src/Acme/DemoBundle/Form/Type/BlogType.php
// ...

// ...
use Symfony\Component\Form\AbstractType;
use Acme\DemoBundle\Entity\Blog;

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp