AdobeConnectClient\Sorter
Create valid sort using Fluent Interface
See
Synopsis
class Sorter
implements
ArrayableInterface
{
- // methods
- public static Sorter instance()
- public Sorter asc()
- public Sorter desc()
- public Sorter removeField()
- public array toArray()
Hierarchy
Implements
Coverage
Methods | 0% | 0 / 5 |
Lines | 0% | / |
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
44 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'asc'. |
56 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'desc'. |
68 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'removeField'. |
90 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'toArray'. |
94 | ShortVariable | Avoid variables with short names like $i. Configured minimum length is 3. |
97 | StaticAccess | Avoid using static access to class '\AdobeConnectClient\Helpers\StringCaseTransform' in method 'toArray'. |
Members
protected
- $prefix
—
string
Prefix to use in sorts - $sorts — array
Methods
public
- asc() — Add an ASC sort
- desc() — Add a DESC sort
- instance() — Return a new Sorter instance
- removeField() — Remove item to sort.
- toArray() — Retrieves all not null attributes in an associative array