#Symfony 3
- Symfony\Component\Form\Extension\Core\Type\DateTimeType (
DatetimeType::class
: fully qualified class name) - Cookbook
- Best practices
- Components
- Validation constraints reference
- Doctrine and other ORMs cheatsheet
- Doctrine useful methods
// Remove x-pingback header tag | |
function remove_x_pingback($headers) | |
{ | |
unset($headers['X-Pingback']); | |
return $headers; | |
} | |
add_filter('wp_headers', 'remove_x_pingback'); | |
// === |
#Symfony 3
DatetimeType::class
: fully qualified class name)$ sudo composer global self-update | |
$ sudo composer global update # update all packages | |
$ composer global show -i # show installed packages | |
$ sudo composer global update "laravel/installer" | |
npm i -g npm@latest | |
npm -g update # update all global packages | |
npm i -g cordova | |
npm i -g ionic@latest | |
npm i -g @angular/cli |
SELECT table_schema as 'Database Name', | |
sum( data_length + index_length ) as 'Size in Bytes', | |
round((sum(data_length + index_length) / 1024 / 1024), 4) as 'Size in MB' | |
FROM information_schema.TABLES | |
GROUP BY table_schema; | |
$ npx create-next-app@latest --typescript
$ cd <directory_created>
$ yarn dev