This tool checks for PSR code styling. More info
We download it to /usr/local/bin/
<?php | |
// Backend MediaGroups Helper | |
$this->media = $this->get('media_library.helper.backend')->create( | |
$this->frm, | |
$this->tpl, | |
$this->header, | |
array( | |
// create new with specified MediaGroup type | |
$this->get('media_library.factory.backend.group')->create( |
<?php | |
// Filename: src/Backend/Core/Engine/DataGridDoctrine.php | |
namespace Backend\Core\Engine; | |
/* | |
* This file is part of Fork CMS. | |
* | |
* For the full copyright and license information, please view the license | |
* file that was distributed with this source code. | |
*/ |
This tool checks for PSR code styling. More info
We download it to /usr/local/bin/
1. Creating .orm.yml files in /Resources/config/...
php app/console doctrine:mapping:import --force AcmeBlogBundle yml --env=prod
MediaLibraryImporter
/**
// Creating the media group
- src
- Console
- Core
- Locale
- Thumbnails
- Component
- Asset
- Asset.php
- AssetCollection.php
ForkCMS
class Url{}
, class FirstName{}
- All abbreviations need to be PascalCasedfunction getUrl(){}
, function getFirstName(){}
- All abbreviations need to be camelCased<?php | |
$document = new DOMDocument(); | |
$document->load($argv[1]); | |
$existingTranslations = []; | |
function getUserInput() { | |
return readline("\nTranslation PT: "); | |
} |
<?php | |
/** | |
* NOTE: the code below was a brainstorm session. | |
* You should check out https://github.com/jeroendesloovere/sitemap-bundle for the latest code | |
*/ | |
/** | |
* CORE | |
*/ |