/**
  * Get the attributes from the container.
  *
  * @return array
  */
 public function getAttributes()
 {
     $attributes = parent::getAttributes();
     $resolver = $this->getTypeResolver();
     if (isset($resolver)) {
         $attributes['resolveType'] = $resolver;
     }
     return $attributes;
 }