* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class BaseCommandResolver extends BaseResolver {
- /**
- * Validated command name
- */
- private $commandName = '';
-
/**
* Protected constructor
*
parent::__construct($className);
}
- /**
- * Setter for command name
- *
- * @param $commandName Last validated command name
- * @return void
- */
- protected final function setCommandName ($commandName) {
- $this->commandName = $commandName;
- }
-
- /**
- * Getter for command name
- *
- * @return $commandName Last validated command name
- */
- protected final function getCommandName () {
- return $this->commandName;
- }
-
/**
* "Loads" a given command and instances it if not yet cached
*