Ferreteria/v0.6/clade/IO/Aspect/Connx/run/Session/@fx/OCommand
Jump to navigation
Jump to search
About
This is a very simple function which allows getting or setting the Session's Command object, i.e. the object for the command-line which is being used to start the Session's execution.
Code
#
private $oCmd;
public function OCommand(?CommandIface $o=NULL) : CommandIface { return is_object($o) ? ($this->oCmd = $o) : $this->oCmd; }