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

Commit 1ae785c

Browse files
Add an accessor function to options for bin
The base CLI.php class has a property for bin but it is not populated. This change makes the property on the options class available to classes that extend CLI.
1 parent 2282720 commit 1ae785c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/Options.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ public function __construct(Colors $colors = null)
5858

5959
$this->options = array();
6060
}
61+
62+
/**
63+
* Gets the bin value
64+
*/
65+
public function getBin()
66+
{
67+
return $this->bin;
68+
}
6169

6270
/**
6371
* Sets the help text for the tool itself

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /