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;
 }
예제 #2
0
 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;
 }