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

Hide commands from ApplicationDescriptor, but allow invoking#20029

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
fabpot merged 14 commits intosymfony:masterfromjwdeitch:patch-2
Oct 5, 2016
Merged
Changes from1 commit
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
NextNext commit
Add hidden field
  • Loading branch information
@jwdeitch
jwdeitch authoredSep 22, 2016
commitb423ab4465bdf4f77ba0928806cd7cd702ef7c12
11 changes: 11 additions & 0 deletionssrc/Symfony/Component/Console/Command/Command.php
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -34,6 +34,7 @@ class Command
private $processTitle;
private $aliases = array();
private $definition;
private $hidden;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be$this->hidden = false;

private $help;
private $description;
private $ignoreValidationErrors = false;
Expand DownExpand Up@@ -445,6 +446,16 @@ public function getName()
{
return $this->name;
}

public function setHidden($hiddenBool)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be$hidden

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

indeed. Thank you sir

{
return $this->hidden = $hiddenBool;
}

public function isHidden()
{
return $this->hidden;
}

/**
* Sets the description for the command.
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp