Англоязычные ресурсы:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* бутстрап для любых консольных скриптов под Битрикс | |
*/ | |
define("LANG", "ru"); | |
define("NO_KEEP_STATISTIC", true); | |
define("NOT_CHECK_PERMISSIONS", true); | |
define("BX_BUFFER_USED", true); | |
// это отключает исполнение агентов | |
define("BX_CLUSTER_GROUP", 2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This is the model class for table "news_comments". | |
* | |
* The followings are the available columns in table 'news_comments': | |
* @property string $id | |
* @property integer $news_id | |
* @property string $author | |
* @property string $text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @SWG\Post( | |
* path="/login/api", | |
* summary="Store new or update existing device", | |
* tags={"Login"}, | |
* description="Store new or update existing device. <strong>Authorization header required</strong>", | |
* operationId="postDevice", | |
* consumes={"application/json", "application/x-www-form-urlencoded"}, | |
* produces={"application/json"}, | |
* @SWG\Parameter( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace PetstoreIO; | |
final class PetController | |
{ | |
/** | |
* @SWG\Get( | |
* path="/pet/findByTags", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Scalar directives | |
directive @scalar(class: String!) on SCALAR | |
# ENUM directives | |
directive @enum(value: ID!) on ENUM_VALUE | |
# Union directives | |
directive @union(resolver: String!) on UNION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Вы ранее привлекались за хранение данных в глобальных переменных? | |
Вы когда-нибудь делали .Net за деньги? | |
Сформулируйте зависимость времени исправления критического бага от seniority присутствующего менеджера | |
В своём резюме вы указали знание php. вам не стыдно? | |
Перед вами кисть, холст и мольберт. напишите компилятор |
These ideas are WORK IN PROGRESS!
The core idea with this workflow is that we end up with a self contained docker image of your application. This image will not only contain our code, but also all the dependencies that are neccessary to run the code. This image can then be used for both, easy deployment in production and as basis for ongoing development.
The image is not a static, though. In fact, it will see many revisions over time - which is supported nicely through dockers inheritance approach. We basically
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
directive @all( | |
""" | |
Specify the class name of the model to use. | |
This is only needed when the default model resolution does not work. | |
""" | |
model: String | |
""" | |
Apply scopes to the underlying query. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Providers; | |
use Illuminate\Support\Facades\App; | |
use Illuminate\Support\ServiceProvider; | |
use Illuminate\Contracts\Filesystem\FileNotFoundException; | |
class ConfigServiceProvider extends ServiceProvider | |
{ |
OlderNewer