Skip to content

Commit 0caaf39

Browse files
committed
up
1 parent 78cf611 commit 0caaf39

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

src/Traits/InputOutputTrait.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,60 @@ public function getScriptName(): string
3535
return $this->input->getScript();
3636
}
3737

38+
/**
39+
* @see Input::getArg()
40+
* {@inheritdoc}
41+
*/
42+
public function getArg($name, $default = null)
43+
{
44+
return $this->input->getArg($name, $default);
45+
}
46+
47+
/**
48+
* @see Input::getRequiredArg()
49+
* {@inheritdoc}
50+
*/
51+
public function getRequiredArg($name)
52+
{
53+
return $this->input->getRequiredArg($name);
54+
}
55+
56+
/**
57+
* @see Input::getSameArg()
58+
* {@inheritdoc}
59+
*/
60+
public function getSameArg($name)
61+
{
62+
return $this->input->getSameArg($name);
63+
}
64+
65+
/**
66+
* @see Input::getOpt()
67+
* {@inheritdoc}
68+
*/
69+
public function getOpt($name, $default = null)
70+
{
71+
return $this->input->getOpt($name, $default);
72+
}
73+
74+
/**
75+
* @see Input::getSameOpt()
76+
* {@inheritdoc}
77+
*/
78+
public function getSameOpt($name)
79+
{
80+
return $this->input->getSameOpt($name);
81+
}
82+
83+
/**
84+
* @see Input::getRequiredOpt()
85+
* {@inheritdoc}
86+
*/
87+
public function getRequiredOpt($name)
88+
{
89+
return $this->input->getRequiredOpt($name);
90+
}
91+
3892
/**
3993
* @param string $msg
4094
* @return string

0 commit comments

Comments
 (0)