This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/src/Api/JobArgs/JobArgsNestedStruct.php
Marcin Kurczewski 098f11bd09 Increased API readability
- Removed Abstract*Job hierarchy
- Introduced EntityRetrievers
- Introduced JobPager
- Moved files around
2014-05-12 18:00:24 +02:00

19 lines
342 B
PHP

<?php
class JobArgsNestedStruct
{
public $args;
protected function __construct(array $args)
{
usort($args, function($arg1, $arg2)
{
return strnatcasecmp(serialize($arg1), serialize($arg2));
});
$this->args = $args;
}
public static function factory(array $args)
{
throw new BadMethodCallException('Not implemented');
}
}