public function getIdentifier()
    {
        $firstOctet = $this->getType();

        if (Identifier::isLongForm($firstOctet)) {
            throw new LogicException(sprintf('Identifier of %s uses the long form and must therefor override "Object::getIdentifier()".', get_class($this)));
        }

        return chr($firstOctet);
    }
public function getIdentifier()
    {
        $firstOctet = $this->getType();

        if (Identifier::isLongForm($firstOctet)) {
            throw new LogicException(sprintf('Identifier of %s uses the long form and must therefor override "Object::getIdentifier()".', get_class($this)));
        }

        return chr($firstOctet);
    }
public function getIdentifier ( ) { $ firstOctet = $ this -> getType ( ) ; if ( Identifier :: isLongForm ( $ firstOctet ) ) { throw new LogicException ( sprintf ( 'Identifier of %s uses the long form and must therefor override "Object::getIdentifier()".' , get_class ( $ this ) ) ) ; } return chr ( $ firstOctet ) ; }
Returns all identifier octets. If an inheriting class models a tag with
the long form identifier format, it MUST reimplement this method to
return all octets of the identifier.

@throws LogicException If the identifier format is long form

@return string Identifier as a set of octets
Returns all identifier octets . If an inheriting class models a tag with the long form identifier format it MUST reimplement this method to return all octets of the identifier .