This file contains hidden or 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 RFC: Instance Reference Sugar ====== | |
* Version: 0.2 | |
* Date: 2015-03-09 | |
* Author: Shawn McCool, [email protected] | |
* Status: In Discussion | |
===== Summary ===== | |
In order to access instance variables and methods, one must use the `$this->` prefix. |
This file contains hidden or 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
com_android_browser | |
graphic-avatar-text-back | |
graphic-background | |
graphic-bootloader-usb-wakeup | |
graphic-busyindicator-large-background | |
graphic-busyindicator-large | |
graphic-busyindicator-medium-background | |
graphic-busyindicator-medium | |
graphic-busyindicator-small | |
graphic-button |
This file contains hidden or 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
fontFamilyHeading : string | |
fontFamily : string | |
fontSizeTiny : int | |
fontSizeExtraSmall : int | |
fontSizeSmall : int | |
fontSizeMedium : int | |
fontSizeLarge : int | |
fontSizeExtraLarge : int | |
fontSizeHuge : int | |
itemSizeExtraSmall : float |
This file contains hidden or 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
// An anonymous function written in lambda syntax: | |
x => x + 1 | |
val func = x => x + 1 | |
func(3) // returns 4 | |
// In this case, the lambda `x => x + 1` relies on NO external data. | |
// It's fundamentally complete. X is provided as an argument to the function. |
This file contains hidden or 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
Beep Boop Beep, I'm a computer. |
This file contains hidden or 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 Sterling\BladeParsing; | |
class BladeParser | |
{ | |
protected $tags = []; | |
public function parse($view) | |
{ | |
foreach ($this->tags as $tag) { | |
if ($tag->getMatchCount($view) > 0) $view = $tag->transform($view); |
This file contains hidden or 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
This is just an example.. Go make you're own! |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
<div class="clearfix"> | |
<label for="$1">$2</label> | |
<div class="input"> | |
<?=form_input('$1', set_value('$1'))?> | |
</div> | |
</div> | |
]]></content> | |
<tabTrigger>formtext</tabTrigger> |
NewerOlder