MrClay\Cli\Arg::useAsOutfile PHP Метод

useAsOutfile() публичный Метод

Assert that the argument's value points to a writable file. When Cli::openOutput() is called, a write pointer to this file will be provided.
public useAsOutfile ( ) : Arg
Результат Arg
    public function useAsOutfile()
    {
        $this->spec['useAsOutfile'] = true;
        return $this->assertFile()->assertWritable();
    }