Обозначения:
C— клавиша Control, обычно настроена наCtrl.M— клавиша Meta, обычно настроена наAlt.
M-xввести командуC-x C-cзакрыть EmacsC-gпрекратить текущую операцию
| <?php | |
| use PhpOffice\PhpSpreadsheet\IOFactory; | |
| use PhpOffice\PhpSpreadsheet\Spreadsheet; | |
| use PhpOffice\PhpSpreadsheet\Style\Border; | |
| use PhpOffice\PhpSpreadsheet\Style\Color; | |
| //создать лист и задать отступы | |
| $oSpreadsheet = new Spreadsheet(); | |
| $sheet = $oSpreadsheet->getActiveSheet(); | |
| $sheet->getPageMargins() | 
| <?php | |
| namespace AppBundle\Repository; | |
| use AppBundle\Entity\Country; | |
| use AppBundle\Entity\CountryTranslation; | |
| use Doctrine\ORM\EntityRepository; | |
| use Doctrine\ORM\Query\ResultSetMapping; | |
| use Doctrine\ORM\QueryBuilder; | 
| <?php | |
| use Illuminate\Database\Migrations\Migration; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Support\Facades\Schema; | |
| class ChangeTable extends Migration | |
| { | |
| /** | |
| * Run the migrations. | 
| <?php | |
| use Illuminate\Support\Facades\Schema; | |
| use Illuminate\Database\Schema\Blueprint; | |
| use Illuminate\Database\Migrations\Migration; | |
| class LaravelConditionalIndexMigration extends Migration | |
| { | |
| /** | |
| * Run the migrations. | 
| <?php | |
| namespace App\Filter; | |
| use ApiPlatform\Core\Api\IriConverterInterface; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\SearchFilter; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryBuilderHelper; | |
| use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
| use ApiPlatform\Core\Exception\InvalidArgumentException; | |
| use Doctrine\Common\Persistence\ManagerRegistry; | 
| <?php | |
| use Plusquam\Bundle\ContractBundle\Service\Invoice; | |
| class ContractAdminController extends Controller | |
| { | |
| /** | |
| * Invoice action | |
| * | |
| * @return Response | 
| <?php | |
| namespace App\Serializer\ApiPlatform; | |
| use ApiPlatform\Core\Serializer\SerializerContextBuilderInterface; | |
| use Psr\Log\LoggerAwareInterface; | |
| use Psr\Log\LoggerAwareTrait; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; | |
| use App\Entity\User; |