Skip to content

Commit 1ae785c

Browse files
authored
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

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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)