I
I
ilysion_in_life2018-05-31 08:52:02
Yii
ilysion_in_life, 2018-05-31 08:52:02

Yii2 and Amazon AWS S3 how to create such methods?

Hello, I'm asking for help, tell me or show me how to do this task: Create 2 methods
getContent($bucket, $filename) - get the file content from the specified bucket along the path /
setContent($bucket, $filename, $content) - save the file content in specified bucket on path /
Describe bucket names as constants in class
use https://github.com/frostealth/yii2-aws-s3

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question