for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of gpupo/pipe2
*
* (c) Gilmar Pupo <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
* For more information, see
* <https://opensource.gpupo.com/pipe2/>.
*/
namespace Gpupo\Pipe2\Documentor;
class InputValidator
{
public function validateInputParameters(Array $parameters)
if (!file_exists($parameters['inputFile'])) {
throw new \InvalidArgumentException('Input File not found');
}
return true;