original_string: public function put($path, $contents)
      {
          $path = self::validatePath($path);
          $fullPath = $this->getMediaPath($path);
          return $this->getStorageDisk()->put($fullPath, $contents);
      }
code: public function put($path, $contents)
      {
          $path = self::validatePath($path);
          $fullPath = $this->getMediaPath($path);
          return $this->getStorageDisk()->put($fullPath, $contents);
      }
code_tokens: public function put ( $ path , $ contents ) { $ path = self :: validatePath ( $ path ) ; $ fullPath = $ this -> getMediaPath ( $ path ) ; return $ this -> getStorageDisk ( ) -> put ( $ fullPath , $ contents ) ; }
docstring: Puts a file to the library.
  @param string $path Specifies the file path relative the the Library root.
  @param string $contents Specifies the file contents.
  @return boolean
docstring_tokens: Puts a file to the library .