From 1ae785cf37d483aedbac51560487bad8c0575b7c Mon Sep 17 00:00:00 2001 From: Tim Gallagher Date: Wed, 9 Oct 2019 13:55:16 -0500 Subject: [PATCH] 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. --- src/Options.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Options.php b/src/Options.php index 4d8b44d..76733aa 100644 --- a/src/Options.php +++ b/src/Options.php @@ -58,6 +58,14 @@ public function __construct(Colors $colors = null) $this->options = array(); } + + /** + * Gets the bin value + */ + public function getBin() + { + return $this->bin; + } /** * Sets the help text for the tool itself