original_string: protected function prepareListImageStyle(array &$list)
      {
          foreach ($list as $id => &$item) {
              $item['directory_exists'] = is_dir($this->image_style->getDirectory($id));
          }
      }
code: protected function prepareListImageStyle(array &$list)
      {
          foreach ($list as $id => &$item) {
              $item['directory_exists'] = is_dir($this->image_style->getDirectory($id));
          }
      }
code_tokens: protected function prepareListImageStyle ( array & $ list ) { foreach ( $ list as $ id => & $ item ) { $ item [ 'directory_exists' ] = is_dir ( $ this -> image_style -> getDirectory ( $ id ) ) ; } }
docstring: Prepare an array of image styles
  @param array $list
docstring_tokens: Prepare an array of image styles