Модули c namespace

This commit is contained in:
CORP\phedor 2018-03-27 17:31:49 +03:00
parent 0f4b2fb722
commit e9f7c23990
11 changed files with 92 additions and 80 deletions

View file

@ -1,5 +1,7 @@
<?php
namespace ctiso;
class Arr {
static function get($data, $key, $default = null) {
return isset($data[$key]) ? $data[$key] : $default;