public function getSerializer()
    {
        if (! $this->serializer || ! ($this->serializer instanceof Serializer)) {
            $this->serializer = Serializer::getInstance();
        }

        return $this->serializer;
    }
public function getSerializer()
    {
        if (! $this->serializer || ! ($this->serializer instanceof Serializer)) {
            $this->serializer = Serializer::getInstance();
        }

        return $this->serializer;
    }
public function getSerializer ( ) { if ( ! $ this -> serializer || ! ( $ this -> serializer instanceof Serializer ) ) { $ this -> serializer = Serializer :: getInstance ( ) ; } return $ this -> serializer ; }
Getter for the `serializer` property.

@return \NEM\Core\Serializer
Getter for the serializer property .