src/Entity/Salary.php
public static function getValidUnits()
    {
        return array(
            self::UNIT_HOUR,
            self::UNIT_DAY,
            self::UNIT_WEEK,
            self::UNIT_MONTH,
            self::UNIT_YEAR,
        );
    }
public static function getValidUnits()
    {
        return array(
            self::UNIT_HOUR,
            self::UNIT_DAY,
            self::UNIT_WEEK,
            self::UNIT_MONTH,
            self::UNIT_YEAR,
        );
    }
public static function getValidUnits ( ) { return array ( self :: UNIT_HOUR , self :: UNIT_DAY , self :: UNIT_WEEK , self :: UNIT_MONTH , self :: UNIT_YEAR , ) ; }
Gets valid time interval units collection.

@return array
Gets valid time interval units collection .