public function setHandler($id)
    {
        if (is_string($id)) {
            $this->handler = $this->file->getHandler($id);
        } else {
            $this->handler = $id;
        }

        return $this;
    }
public function setHandler($id)
    {
        if (is_string($id)) {
            $this->handler = $this->file->getHandler($id);
        } else {
            $this->handler = $id;
        }

        return $this;
    }
public function setHandler ( $ id ) { if ( is_string ( $ id ) ) { $ this -> handler = $ this -> file -> getHandler ( $ id ) ; } else { $ this -> handler = $ id ; } return $ this ; }
Sets the current transfer handler
@param mixed $id
- string: load by validator ID
- false: disable validator at all,
- null: detect validator by file extension
@return $this
Sets the current transfer handler