src/MIBS/Entity.php
public function physicalClass($translate = false) {
        $classes = $this->getSNMP()->walk1d(self::OID_ENTITY_PHYSICAL_CLASS);

        if (!$translate) {
            return $classes;
        }

        return $this->getSNMP()->translate($classes, self::$ENTITY_PHSYICAL_CLASS);
    }
public function physicalClass($translate = false) {
        $classes = $this->getSNMP()->walk1d(self::OID_ENTITY_PHYSICAL_CLASS);

        if (!$translate) {
            return $classes;
        }

        return $this->getSNMP()->translate($classes, self::$ENTITY_PHSYICAL_CLASS);
    }
public function physicalClass ( $ translate = false ) { $ classes = $ this -> getSNMP ( ) -> walk1d ( self :: OID_ENTITY_PHYSICAL_CLASS ) ; if ( ! $ translate ) { return $ classes ; } return $ this -> getSNMP ( ) -> translate ( $ classes , self :: $ ENTITY_PHSYICAL_CLASS ) ; }
Returns an associate array of entPhysicalClass

e.g.  [1005] => 10 / port


@param boolean $translate If true, return the string representation via self::$ENTITY_PHSYICAL_CLASS
@return array Associate array of entPhysicalClass
Returns an associate array of entPhysicalClass