Jyxo\Input\Fluent::file PHP 메소드

file() 공개 메소드

Requires \Jyxo\Input\Upload.
또한 보기: Jyxo\Input\Upload
public file ( string $index ) : self
$index string File index
리턴 self
    public function file(string $index) : self
    {
        $validator = new Validator\Upload();
        $file = new Upload($index);
        $this->check($file, $index)->validate($validator)->filter($validator);
        return $this;
    }