protected static function init() { self::$directory = \Stormpath\Resource\Directory::instantiate(array('name' => makeUniqueName('DirectoryTest'), 'description' => 'Main Directory description')); self::createResource(\Stormpath\Resource\Directory::PATH, self::$directory); self::$inited = true; }
protected static function init() { self::$directory = \Stormpath\Resource\Directory::instantiate(array('name' => 'Main Directory' . md5(time() . microtime() . uniqid()), 'description' => 'Main Directory description')); self::createResource(\Stormpath\Resource\Directory::PATH, self::$directory); self::$inited = true; }