new Vue({
el: '#app',
data: {
variable1: 23,
variable2: 42
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
class Test | |
constructor: (a, b) -> | |
console.log(a, b); | |
method: -> | |
# method | |
@method: -> |
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 API package. | |
* | |
* @author Serafim <[email protected]> | |
* @date 24.02.2016 16:23 | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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 GitterAPI package. | |
* | |
* @author Serafim <[email protected]> | |
* @date 01.03.2016 19:06 | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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 Serafim\Reactor; | |
/** | |
* Class FileReader | |
* @package Serafim\Reactor | |
*/ | |
class FileReader implements Reader | |
{ | |
/** |
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 | |
/** | |
* @author Serafim <[email protected]> | |
* @date 22.03.2016 20:24 | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ | |
use Doctrine\Common\Cache\Cache; |
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
<style>input, pre { margin: 20px 50px; }</style> | |
<form action="/" method="POST"> | |
<input type="text" name="some.any.ololo..." /> | |
<input type="submit" /> | |
</form> | |
<pre><?php var_dump($_POST); ?></pre> |
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 | |
use Illuminate\Contracts\Support\Renderable; | |
use Illuminate\Support\Str; | |
/** | |
* Class Message | |
*/ | |
class Message implements Renderable, \Countable, \IteratorAggregate | |
{ | |
/** |