MrClay\Cli\Arg::useAsInfile PHP Method

useAsInfile() public method

Assert that the argument's value points to a readable file. When Cli::openInput() is called, a read pointer to this file will be provided.
public useAsInfile ( ) : Arg
return Arg
    public function useAsInfile()
    {
        $this->spec['useAsInfile'] = true;
        return $this->assertFile()->assertReadable();
    }