This is an error 404
There are `0` results
preferences:
212.46 ms | 1403 KiB | 7 Q<?php
class DataStorage
{
use DataHandler;
static private $dataStorage = [
'key' => 'data'
];
}
//Data getter
trait DataHandler
{
static public function get($property)
{
return self::$dataStorage[$property];
}
}
echo DataStorage::get('key');