private function setClientFilename($clientFilename)
    {
        if (preg_match('`[/\\]+`', $clientFilename) > 0) {
            throw new \InvalidArgumentException('Filename contain invalid character "\" or "/" in his name.');
        }

        $this->clientFilename = (empty($clientFilename) ? null : (string) $clientFilename);

        return $this;
    }
private function setClientFilename($clientFilename)
    {
        if (preg_match('`[/\\]+`', $clientFilename) > 0) {
            throw new \InvalidArgumentException('Filename contain invalid character "\" or "/" in his name.');
        }

        $this->clientFilename = (empty($clientFilename) ? null : (string) $clientFilename);

        return $this;
    }
private function setClientFilename ( $ clientFilename ) { if ( preg_match ( '`[/\\]+`' , $ clientFilename ) > 0 ) { throw new \ InvalidArgumentException ( 'Filename contain invalid character "\" or "/" in his name.' ) ; } $ this -> clientFilename = ( empty ( $ clientFilename ) ? null : ( string ) $ clientFilename ) ; return $ this ; }
Set client filename.

@param  string $clientFilename
@return self
@throws \InvalidArgumentException
Set client filename .