I have a question – how to add my own task alias in Symfony 1.4?
For example, there is a ‘cc’ alias for ‘cache:clear’ command. I want to make an alias of my command ‘SuperLongCommandNameForSymfonyTask’… but how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Check http://trac.symfony-project.org/browser/branches/1.4/lib/task/cache/sfCacheClearTask.class.php#L35
you only have to add this line :