public function put($path, $contents)
    {
        $this->makeDirectory(dirname($path));

        return file_put_contents($path, $contents);
    }
public function put($path, $contents)
    {
        $this->makeDirectory(dirname($path));

        return file_put_contents($path, $contents);
    }
public function put ( $ path , $ contents ) { $ this -> makeDirectory ( dirname ( $ path ) ) ; return file_put_contents ( $ path , $ contents ) ; }
Put to a file path.

@param  string $path
@param  string $contents
@return mixed
Put to a file path .