Skip to content

Instantly share code, notes, and snippets.

@grenoult
Last active December 19, 2017 03:46
Show Gist options
  • Save grenoult/f6e404b96d3c74927e3c0a9cecf9d2bb to your computer and use it in GitHub Desktop.
Save grenoult/f6e404b96d3c74927e3c0a9cecf9d2bb to your computer and use it in GitHub Desktop.
-- Watch assets files
php app/console assetic:watch
-- Update DB depending on entities
php app/console doctrine:schema:update --dump-sql | grep epms
-- Update Solr indexes
php app/console cron:indexCandidate
-- Clear cache
php app/console cache:clear --no-warmup
-- Convert string array to int array
$integerIDs = array_map('intval', explode(',', $string));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment