Skip to content

Instantly share code, notes, and snippets.

Avatar

Emilio Nicolás EmilioNicolas

View GitHub Profile
@EmilioNicolas
EmilioNicolas / example_1.php
Last active Mar 16, 2017
Ejercicio revisión de código Erasmusu
View example_1.php
<?php
class UserLoginService
{
protected $notis;
public function execute($request)
{
$email = $request->getEmail();
$password = $request->getPassword();
@EmilioNicolas
EmilioNicolas / spintax.php
Last active Oct 25, 2020 — forked from PhiSYS/spintax.php
PHP: Text Spinner Class - Nested spinning supported.
View spintax.php
<?PHP
/**
* Spintax - A helper class to process Spintax strings.
* @name Spintax
* @author Jason Davis - https://www.codedevelopr.com/
* Tutorial: https://www.codedevelopr.com/articles/php-spintax-class/
*/
class Spintax
{