original_string: protected function put($args) {
  		$target = $args['target'];
  		
  		if (($volume = $this->volume($target)) == false
  		|| ($file = $volume->file($target)) == false) {
  			return array('error' => $this->error(self::ERROR_SAVE, '#'.$target, self::ERROR_FILE_NOT_FOUND));
  		}
  		
  		if (($file = $volume->putContents($target, $args['content'])) == false) {
  			return array('error' => $this->error(self::ERROR_SAVE, $volume->path($target), $volume->error()));
  		}
  		
  		return array('changed' => array($file));
  	}
code: protected function put($args) {
  		$target = $args['target'];
  		
  		if (($volume = $this->volume($target)) == false
  		|| ($file = $volume->file($target)) == false) {
  			return array('error' => $this->error(self::ERROR_SAVE, '#'.$target, self::ERROR_FILE_NOT_FOUND));
  		}
  		
  		if (($file = $volume->putContents($target, $args['content'])) == false) {
  			return array('error' => $this->error(self::ERROR_SAVE, $volume->path($target), $volume->error()));
  		}
  		
  		return array('changed' => array($file));
  	}
code_tokens: protected function put ( $ args ) { $ target = $ args [ 'target' ] ; if ( ( $ volume = $ this -> volume ( $ target ) ) == false || ( $ file = $ volume -> file ( $ target ) ) == false ) { return array ( 'error' => $ this -> error ( self :: ERROR_SAVE , '#' . $ target , self :: ERROR_FILE_NOT_FOUND ) ) ; } if ( ( $ file = $ volume -> putContents ( $ target , $ args [ 'content' ] ) ) == false ) { return array ( 'error' => $ this -> error ( self :: ERROR_SAVE , $ volume -> path ( $ target ) , $ volume -> error ( ) ) ) ; } return array ( 'changed' => array ( $ file ) ) ; }
docstring: Save content into text file
  
  @return array
  @author Dmitry (dio) Levashov
docstring_tokens: Save content into text file