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
{ | |
"dependencies": { | |
// Babel (ES6, ES7, Flow, etc...) | |
"babel-core": "5.8.*", | |
"gulp-babel": "5.2.*", | |
// CoffeeScript | |
"gulp-coffee": "^2.3.1", | |
// Sass and Scss |
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 | |
use Illuminate\Contracts\Support\Renderable; | |
use Illuminate\Support\Str; | |
/** | |
* Class Message | |
*/ | |
class Message implements Renderable, \Countable, \IteratorAggregate | |
{ | |
/** |
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 | |
/** | |
* Put this file to "app/Console/EnvironmentInstaller.php" | |
*/ | |
namespace App\Console; | |
use Dotenv\Dotenv; | |
use Composer\Script\Event; | |
use Illuminate\Support\Str; | |
use Composer\IO\IOInterface; |
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 | |
@Some(a = 23, b = 42) | |
class TestClass | |
{ | |
public function test($a) | |
{ | |
} | |
} |
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 declare(strict_types = 1); | |
/** | |
* This file is part of MessageComponent package. | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
namespace Serafim\MessageComponent; | |
use Illuminate\Contracts\Support\Renderable; |
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 file is part of laravel.su package. | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
declare(strict_types=1); |
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 | |
/** | |
* Add this code into app/AppKernel.php | |
*/ | |
class AppKernel extends Kernel | |
{ | |
// .... | |
/** | |
* @return string | |
*/ |
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
type Story implements Test { | |
id: ID! @test(some: "any") | |
text: String! | |
isPublished: Boolean | |
author: Author! | |
comments: [Comment!]! | |
} | |
type Author { | |
id: ID! |
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
# | |
# file ~/schema/index.graphqls | |
# | |
schema { | |
query: Query | |
} | |
type Query { | |
user: User |
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
/** | |
* Grid System Core | |
* Licensed under GPL and MIT. | |
* | |
* @version 1.0 | |
* @author Nesmeyanov Kirill aka Serafim | |
*/ | |
/** |