Answer the question
In order to leave comments, you need to log in
How to properly organize the interaction of file handlers?
Hello.
There is a following task. There is a file. When passing parameters along with the path to the file, these parameters will be processed and, based on them, various handlers will be applied to the file located at the specified path.
For example:
We have an image, in the parameters we pass:
$args = array(
'crop' => array('size' => '230x430', 'scale' => true),
'blur' => array('radius' => '10'),
'archive' => array('format' => 'zip')
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question