public function getOptions() 
    {
        $options = array();
        
        if ($this->valueSet) {
            $options['value'] = $this->getValue();
        } elseif ($this->hash !== null) {
            $options['hash'] = $this->getHash();
        }
        
        $options['size'] = $this->getSize();
        $options['style'] = $this->getStyle()->getOptions();

        if ($this->enableImageMagick !== null) {
            $options['enableImageMagick'] = $this->getEnableImageMagick();
        }
        
        if ($this->iconGenerator !== IconGenerator::getDefaultGenerator()) {
            $options['iconGenerator'] = $this->getIconGenerator();
        }
        
        return $options;
    }
public function getOptions() 
    {
        $options = array();
        
        if ($this->valueSet) {
            $options['value'] = $this->getValue();
        } elseif ($this->hash !== null) {
            $options['hash'] = $this->getHash();
        }
        
        $options['size'] = $this->getSize();
        $options['style'] = $this->getStyle()->getOptions();

        if ($this->enableImageMagick !== null) {
            $options['enableImageMagick'] = $this->getEnableImageMagick();
        }
        
        if ($this->iconGenerator !== IconGenerator::getDefaultGenerator()) {
            $options['iconGenerator'] = $this->getIconGenerator();
        }
        
        return $options;
    }
public function getOptions ( ) { $ options = array ( ) ; if ( $ this -> valueSet ) { $ options [ 'value' ] = $ this -> getValue ( ) ; } elseif ( $ this -> hash !== null ) { $ options [ 'hash' ] = $ this -> getHash ( ) ; } $ options [ 'size' ] = $ this -> getSize ( ) ; $ options [ 'style' ] = $ this -> getStyle ( ) -> getOptions ( ) ; if ( $ this -> enableImageMagick !== null ) { $ options [ 'enableImageMagick' ] = $ this -> getEnableImageMagick ( ) ; } if ( $ this -> iconGenerator !== IconGenerator :: getDefaultGenerator ( ) ) { $ options [ 'iconGenerator' ] = $ this -> getIconGenerator ( ) ; } return $ options ; }
Gets an associative array of all options of this identicon.

@return array
Gets an associative array of all options of this identicon .