Refactor to use RuntimeOptions in Console
This commit is contained in:
parent
8f413a9aae
commit
bd9bf431e7
4 changed files with 63 additions and 43 deletions
|
@ -5,7 +5,7 @@
|
|||
namespace LogLib\Objects;
|
||||
|
||||
|
||||
class Options
|
||||
class Options extends RuntimeOptions
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
|
@ -17,8 +17,8 @@
|
|||
*/
|
||||
public function __construct(string $application_name)
|
||||
{
|
||||
$this->application_name = $application_name;
|
||||
}
|
||||
parent::__construct();
|
||||
$this->application_name = $application_name;}
|
||||
|
||||
/**
|
||||
* Returns the name of the Application
|
||||
|
@ -29,5 +29,4 @@
|
|||
{
|
||||
return $this->application_name;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue