public function setName($name)
	{
		if ( ! is_string($name)) {
			throw new \InvalidArgumentException(
				__METHOD__."() expects parameter one, name, to be a string"
			);	
		}
		
		if ( ! is_readable($name)) {
			throw new \InvalidArgumentException(
				__METHOD__."() expects parameter one, name, to be a readable filename"
			);
		}
		
		$this->name = $name;
		
		return $this;
	}
public function setName($name)
	{
		if ( ! is_string($name)) {
			throw new \InvalidArgumentException(
				__METHOD__."() expects parameter one, name, to be a string"
			);	
		}
		
		if ( ! is_readable($name)) {
			throw new \InvalidArgumentException(
				__METHOD__."() expects parameter one, name, to be a readable filename"
			);
		}
		
		$this->name = $name;
		
		return $this;
	}
public function setName ( $ name ) { if ( ! is_string ( $ name ) ) { throw new \ InvalidArgumentException ( __METHOD__ . "() expects parameter one, name, to be a string" ) ; } if ( ! is_readable ( $ name ) ) { throw new \ InvalidArgumentException ( __METHOD__ . "() expects parameter one, name, to be a readable filename" ) ; } $ this -> name = $ name ; return $ this ; }
Sets the file's name

@param  string  $name  the file's name
@return  self
@throws  InvalidArgumentException  if $name is not a string
@throws  InvalidArgumentException  if $name is not a readable file name
@since  0.1.0
Sets the file s name