gossi\codegen\model\PropertiesInterface::getProperties PHP Méthode

getProperties() public méthode

Returns a collection of properties
public getProperties ( ) : Map
Résultat Map
    public function getProperties();

Usage Example

 private function sortProperties(PropertiesInterface $model)
 {
     if ($this->config->isSortingEnabled() && ($propertySorting = $this->config->getPropertySorting()) !== false) {
         if (is_string($propertySorting)) {
             $propertySorting = ComparatorFactory::createPropertyComparator($propertySorting);
         }
         $model->getProperties()->sort($propertySorting);
     }
 }