How can storage cache be cleaned programaticaly, I have found an answer [https://stackoverflow.com/questions/15028159/magento-flush-cache-storage][1] but this solution does not work.After I run it get this type of error (Parse error: syntax error, unexpected 'public' (T_PUBLIC) in ..\file.php on line 6).
Is there any other solution for flushing storage cache