In developing with symfony, you delete the cache over and over. The symfony command for this is that:
symfony clear-cache
or
symfony cc
The second one is muct shorter, but we can make it far shorter by making an alias for the command.
- Open your bash profile file. That would “~/.bash_login”, “~/.profile” or “~/.bash_profile”.
- Add the following code:
alias cc="symfony cc" - Close the terminal window and reopen. Now the command
ccshould work as “symfony cc”.
Comments
Post new comment