for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Copyright (c) 2015 Juan José Torroglosa Ramón
*
* This file is part of the Cliphar package.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Cliphar\InputDefinition\Model;
class InputDefinition
{
/**
* @var Option[]
private $options;
* @var Argument[]
private $arguments;
* InputDefinition constructor.
public function __construct()
$this->options = array();
$this->arguments = array();
}
public function addOption(Option $option)
$this->options[] = $option;
public function addArgument(Argument $argument)
$this->arguments[] = $argument;
* @return Option[]
public function getOptions()
return $this->options;
* @return Argument[]
public function getArguments()
return $this->arguments;