original_string: public function getAttributesFromString($value)
      {
          if (empty($value) === true) {
              return [];
          }
  
          $repository = $this->config->load($value, $this->type);
  
          return $repository->getArray();
      }
code: public function getAttributesFromString($value)
      {
          if (empty($value) === true) {
              return [];
          }
  
          $repository = $this->config->load($value, $this->type);
  
          return $repository->getArray();
      }
code_tokens: public function getAttributesFromString ( $ value ) { if ( empty ( $ value ) === true ) { return [ ] ; } $ repository = $ this -> config -> load ( $ value , $ this -> type ) ; return $ repository -> getArray ( ) ; }
docstring: Get the attributes of an item from string.
  
  @param string $value Attributes represented as string. e.g: JSON or YAML
  
  @return array
docstring_tokens: Get the attributes of an item from string .