I hereby claim:
- I am emir on github.
- I am emir (https://keybase.io/emir) on keybase.
- I have a public key ASBogsWl9sLGUEIscJ-aA_8CM7CIPi-j358IErpP4mqdbAo
To claim this, I am signing this object:
<?php | |
namespace App\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Symfony\Component\Security\Core\User\UserInterface; | |
/** | |
* @ORM\Table(name="users") | |
* @ORM\Entity |
<cfcomponent> | |
<cfset this.hello = "Hello" /> | |
<cfset this.world = "world" /> | |
<cffunction name="sayHello"> | |
<cfreturn this.hello & ", " & this.world & "!" /> | |
</cffunction> | |
<cffunction name="setHello"> | |
<cfargument name="newHello" type="string" required="true" /> |
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
$pusher = new \LogPusher\LogPusherClient( | |
new \GuzzleHttp\Client([]), | |
'[email protected]', | |
'PASSWORD', | |
'API_KEY' | |
); |
I hereby claim:
To claim this, I am signing this object:
function active_lang { | |
osascript -e 'tell application "System Events" to tell process "SystemUIServer" to get the value of the first menu bar item of menu bar 1 whose description is "text input"' | |
} | |
RPROMPT='$(active_lang)' |
<?php | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Horizon Redis Connection | |
|-------------------------------------------------------------------------- | |
| | |
| This is the name of the Redis connection where Horizon will store the |
<?php | |
namespace App\Domain\Identity\ValueObjects; | |
final class Type | |
{ | |
const TURKISH_TYPE = 'TURKISH'; | |
const FOREIGNER_TYPE = 'FOREIGNER'; |
<?php | |
/** | |
* This method logically validates Turkish VAT number | |
* | |
* @param string $taxNumber | |
* @return bool | |
*/ | |
public function validateTaxNumber(string $taxNumber): bool | |
{ |
<?php | |
class Event { | |
protected $events = []; | |
function listen($name, $handler) | |
{ | |
$this->events[$name][] = $handler; | |
} |
<?php | |
interface EventInterface { | |
public function listen(string $name, callable $handler) : void; | |
public function fire(string $name) : bool; | |
} | |
final class Event implements EventInterface { | |
protected $events = []; |