for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
//[PHPCOMPRESSOR(remove,start)]
/**
* Created by PhpStorm.
* User: Myslyvyi
* Date: 09.02.16
* Time: 13:35
*/
namespace samson\activerecord;
use samsonframework\orm\Record;
* This is emulated classes that should be generated by
* ORM module. This is needed for IDE and databaseless testing.
if (!class_exists('\samson\activerecord\gallery', false)) {
class gallery extends Record
Classes in PHP are usually named in CamelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes DatabaseProvider.
DatabaseProvider
{
}
//[PHPCOMPRESSOR(remove,end)]
Classes in PHP are usually named in CamelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. The whole name starts with a capital letter as well.
Thus the name database provider becomes
DatabaseProvider
.