Модули c namespace
This commit is contained in:
parent
0f4b2fb722
commit
e9f7c23990
11 changed files with 92 additions and 80 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace ctiso;
|
||||
|
||||
class Arr {
|
||||
static function get($data, $key, $default = null) {
|
||||
return isset($data[$key]) ? $data[$key] : $default;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue