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 AopTest; | |
use Go\Core\AspectContainer; | |
use Go\Core\AspectKernel; | |
class ApplicationAspectKernel extends AspectKernel | |
{ | |
protected function configureAop(AspectContainer $container) |
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
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Map.Entry; | |
public class HelloWorld | |
{ | |
public static void main(String[] args) | |
{ | |
UsersRepositoryInterface usersRepository = new UsersRepository(); |
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 | |
function seo_friendly_url($url) { | |
$cyrillic = array("а", "б", "в", "г", "д", "ѓ", "е", "ж", "з", "ѕ", "и", "ј", "к", | |
"л", "љ", "м", "н", "њ", "о", "п", "р", "с", "т", "ќ", "у", "ф", | |
"х", "ц", "ч", "џ", "ш", "А", "Б", "В", "Г", "Д", "Ѓ", "Е", "Ж", | |
"З", "Ѕ", "И", "Ј", "К", "Л", "Љ", "М", "Н", "Њ", "О", "П", "Р", | |
"С", "Т", "Ќ", "У", "Ф", "Х", "Ц", "Ч", "Џ", "Ш"); | |