text:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ChangeListManager">
    <list default="true" id="650095ed-cbd1-4612-a248-6b9fd7e4ea26" name="Default" comment="">
      <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/src/AppBundle/Entity/Repositories/ReadersRepository.php" />
      <change type="DELETED" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="" />
      <change type="DELETED" beforePath="$PROJECT_DIR$/access.log" afterPath="" />
      <change type="DELETED" beforePath="$PROJECT_DIR$/src/AppBundle/DataFixtures/ORM/AppFixtures.php" afterPath="" />
      <change type="DELETED" beforePath="$PROJECT_DIR$/src/AppBundle/Resources/config/routing.yml" afterPath="" />
      <change type="DELETED" beforePath="$PROJECT_DIR$/src/AppBundle/Resources/config/services.yml" afterPath="" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Entity/Books.php" afterPath="$PROJECT_DIR$/src/AppBundle/Entity/Books.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Admin/BooksAdmin.php" afterPath="$PROJECT_DIR$/src/AppBundle/Admin/BooksAdmin.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Controller/BooksController.php" afterPath="$PROJECT_DIR$/src/AppBundle/Controller/BooksController.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Entity/Readers.php" afterPath="$PROJECT_DIR$/src/AppBundle/Entity/Readers.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Admin/ReadersAdmin.php" afterPath="$PROJECT_DIR$/src/AppBundle/Admin/ReadersAdmin.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Controller/ReadersController.php" afterPath="$PROJECT_DIR$/src/AppBundle/Controller/ReadersController.php" />
      <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/AppBundle/Entity/ReadersRelations.php" afterPath="$PROJECT_DIR$/src/AppBundle/Entity/ReadersRelations.php" />
    </list>
    <ignored path="testsymfony.iws" />
    <ignored path=".idea/workspace.xml" />
    <ignored path=".idea/dataSources.local.xml" />
    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
    <option name="TRACKING_ENABLED" value="true" />
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
    <option name="LAST_RESOLUTION" value="IGNORE" />
  </component>
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
  <component name="CreatePatchCommitExecutor">
    <option name="PATCH_PATH" value="" />
  </component>
  <component name="DaemonCodeAnalyzer">
    <disable_hints />
  </component>
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  <component name="FavoritesManager">
    <favorites_list name="testsymfony" />
  </component>
  <component name="FileEditorManager">
    <leaf>
      <file leaf-file-name="ReadersAdmin.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Admin/ReadersAdmin.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-14.041667" vertical-offset="1613" max-vertical-offset="2175">
              <caret line="130" column="43" selection-start-line="130" selection-start-column="43" selection-end-line="130" selection-end-column="43" />
              <folding>
                <element signature="e#6#320#0#PHP" expanded="true" />
                <element signature="e#348#379#0#PHP" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/.gitignore">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-7.2" vertical-offset="0" max-vertical-offset="270">
              <caret line="12" column="5" selection-start-line="12" selection-start-column="5" selection-end-line="12" selection-end-column="5" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="controllers.js" pinned="false" current-in-tab="true">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Resources/public/js/controllers/controllers.js">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="0.40677965" vertical-offset="0" max-vertical-offset="885">
              <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="BooksController.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/BooksController.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-6.875" vertical-offset="0" max-vertical-offset="270">
              <caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
              <folding />
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="ReadersController.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/ReadersController.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-10.0" vertical-offset="0" max-vertical-offset="330">
              <caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
              <folding>
                <element signature="e#96#145#0#PHP" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="Readers.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Readers.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-18.125" vertical-offset="0" max-vertical-offset="1740">
              <caret line="29" column="0" selection-start-line="29" selection-start-column="0" selection-end-line="29" selection-end-column="0" />
              <folding>
                <element signature="e#34#66#0#PHP" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="ReadersRelations.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/ReadersRelations.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="15.333333" vertical-offset="773" max-vertical-offset="1335">
              <caret line="27" column="7" selection-start-line="27" selection-start-column="7" selection-end-line="27" selection-end-column="7" />
              <folding>
                <element signature="e#34#66#0#PHP" expanded="true" />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
      <file leaf-file-name="ReadersRepository.php" pinned="false" current-in-tab="false">
        <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Repositories/ReadersRepository.php">
          <provider selected="true" editor-type-id="text-editor">
            <state vertical-scroll-proportion="-11.875" vertical-offset="0" max-vertical-offset="540">
              <caret line="19" column="46" selection-start-line="19" selection-start-column="46" selection-end-line="19" selection-end-column="46" />
              <folding>
                <marker date="1433349838106" expanded="true" signature="396:580" placeholder="SELECT R.id,..AppBundle..." />
              </folding>
            </state>
          </provider>
        </entry>
      </file>
    </leaf>
  </component>
  <component name="Git.Settings">
    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  </component>
  <component name="IdeDocumentHistory">
    <option name="CHANGED_PATHS">
      <list>
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Books/show.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Books/new.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/User.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/config/services.yml" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/EnquiryType.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/layout.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Enquiry.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Default/contact.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/List.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Default/readership.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Form/EnquiryType.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/AuthorsAdminController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/base.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Repositories/UserRepository.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Repositories/ReadersRepository.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/config/doctrine/Books.orm.yml" />
        <option value="$PROJECT_DIR$/src/AppBundle/Repositories/BooksRepository.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Default/books.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Default/readers.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/public/css/theme.css" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/Default/show.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/PageBooksAdminController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/BooksAdminController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/PageReadersAdminController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Form/backReadersForm.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/config/routing.yml" />
        <option value="$PROJECT_DIR$/src/AppBundle/Form/BooksForm.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/config/doctrine/Readers.orm.yml" />
        <option value="$PROJECT_DIR$/app/config/routing.yml" />
        <option value="$PROJECT_DIR$/app/config/config.yml" />
        <option value="$PROJECT_DIR$/app/AppKernel.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/AppBundle.php" />
        <option value="$PROJECT_DIR$/app/config/security.yml" />
        <option value="$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php" />
        <option value="$PROJECT_DIR$/new.sql" />
        <option value="$PROJECT_DIR$/src/AppBundle/Form/DataTransformer/ReadersRelationsDataTransformer.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/ReadersAdminController.php" />
        <option value="$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Controller/CRUDController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Form/ReadersRealetionsForm.php" />
        <option value="$PROJECT_DIR$/app/config/services.yml" />
        <option value="$PROJECT_DIR$/.gitignore" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Repositories/ReadersRepository.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Resources/views/CRUD/list_books.html.twig" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/ReadersRelations.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Form/ReadersForm.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/ReadersController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Controller/BooksController.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Admin/ReadersAdmin.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Readers.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Entity/Books.php" />
        <option value="$PROJECT_DIR$/src/AppBundle/Admin/BooksAdmin.php" />
      </list>
    </option>
  </component>
  <component name="JsBowerSettings">
    <exe-path />
    <config-path />
  </component>
  <component name="JsGulpfileManager">
    <detection-done>true</detection-done>
  </component>
  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
  <component name="ProjectFrameBounds">
    <option name="x" value="1920" />
    <option name="y" value="24" />
    <option name="width" value="1920" />
    <option name="height" value="1032" />
  </component>
  <component name="ProjectLevelVcsManager" settingsEditedManually="true">
    <OptionsSetting value="true" id="Add" />
    <OptionsSetting value="true" id="Remove" />
    <OptionsSetting value="true" id="Checkout" />
    <OptionsSetting value="true" id="Update" />
    <OptionsSetting value="true" id="Status" />
    <OptionsSetting value="true" id="Edit" />
    <ConfirmationsSetting value="0" id="Add" />
    <ConfirmationsSetting value="0" id="Remove" />
  </component>
  <component name="ProjectView">
    <navigator currentView="ProjectPane" proportions="" version="1">
      <flattenPackages />
      <showMembers />
      <showModules />
      <showLibraryContents />
      <hideEmptyPackages />
      <abbreviatePackageNames />
      <autoscrollToSource />
      <autoscrollFromSource />
      <sortByType />
    </navigator>
    <panes>
      <pane id="ProjectPane">
        <subPane>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Resources" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="public" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="js" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="controllers" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Resources" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="public" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="css" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Form" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Form" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="DataTransformer" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Entity" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Entity" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Repositories" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Controller" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="src" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="AppBundle" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="Admin" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="app" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
          <PATH>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="testsymfony" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="app" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
            <PATH_ELEMENT>
              <option name="myItemId" value="config" />
              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
            </PATH_ELEMENT>
          </PATH>
        </subPane>
      </pane>
      <pane id="Scope" />
    </panes>
  </component>
  <component name="PropertiesComponent">
    <property name="WebServerToolWindowFactoryState" value="false" />
    <property name="last_opened_file_path" value="$PROJECT_DIR$/../newtestsymfony" />
    <property name="ToolWindowTODO.ShowToolbar" value="false" />
    <property name="options.lastSelected" value="preferences.keymap" />
    <property name="options.splitter.main.proportions" value="0.3" />
    <property name="options.splitter.details.proportions" value="0.2" />
    <property name="SearchEverywhereHistoryKey" value="	FILE	file:///home/sites/testsymfony/src/AppBundle/Controller/BooksController.php" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="224" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder0" value="0" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="234" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder1" value="1" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth2" value="239" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder2" value="2" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth3" value="1149" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder3" value="3" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth0" value="224" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder0" value="0" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth1" value="234" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder1" value="1" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth2" value="239" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder2" value="2" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="1149" />
    <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder3" value="3" />
    <property name="FullScreen" value="false" />
    <property name="LayoutCode.rearrangeEntriesPHP" value="false" />
  </component>
  <component name="RecentsManager">
    <key name="CopyFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$/src/AppBundle/Form" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Controller" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Admin" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Resources/config" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Resources/config/doctrine" />
    </key>
    <key name="MoveFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$/src/AppBundle/Resources/views/Default" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Admin" />
      <recent name="$PROJECT_DIR$/src/AppBundle/Resources/public/js/controllers" />
    </key>
  </component>
  <component name="RunManager">
    <configuration default="true" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
      <TestRunner />
      <method />
    </configuration>
    <configuration default="true" type="PhpLocalRunConfigurationType" factoryName="PHP Console">
      <method />
    </configuration>
    <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
      <method />
    </configuration>
    <configuration default="true" type="PhpBehatConfigurationType" factoryName="Behat">
      <BehatRunner />
      <method />
    </configuration>
    <configuration default="true" type="PhpUnitRemoteRunConfigurationType" factoryName="PHPUnit on Server">
      <method />
    </configuration>
    <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
      <node-options />
      <gulpfile />
      <tasks />
      <pass-parent-envs>true</pass-parent-envs>
      <envs />
      <method />
    </configuration>
    <list size="0" />
  </component>
  <component name="ShelveChangesManager" show_recycled="false" />
  <component name="SvnConfiguration">
    <configuration />
  </component>
  <component name="TaskManager">
    <task active="true" id="Default" summary="Default task">
      <changelist id="650095ed-cbd1-4612-a248-6b9fd7e4ea26" name="Default" comment="" />
      <created>1423341437255</created>
      <option name="number" value="Default" />
      <updated>1423341437255</updated>
    </task>
    <servers />
  </component>
  <component name="TodoView" selected-index="0">
    <todo-panel id="selected-file">
      <are-packages-shown value="false" />
      <are-modules-shown value="false" />
      <flatten-packages value="false" />
      <is-autoscroll-to-source value="false" />
    </todo-panel>
    <todo-panel id="all">
      <are-packages-shown value="false" />
      <are-modules-shown value="false" />
      <flatten-packages value="false" />
      <is-autoscroll-to-source value="false" />
    </todo-panel>
    <todo-panel id="default-changelist">
      <are-packages-shown value="false" />
      <are-modules-shown value="false" />
      <flatten-packages value="false" />
      <is-autoscroll-to-source value="false" />
    </todo-panel>
  </component>
  <component name="ToolWindowManager">
    <frame x="1920" y="24" width="1920" height="1032" extended-state="0" />
    <editor active="true" />
    <layout>
      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32932165" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32785088" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.29276314" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32932165" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.24946696" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2249467" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32894737" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32822758" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3256579" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Framework" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32995737" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
    </layout>
    <layout-to-restore>
      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
      <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.33552632" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32894737" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
      <window_info id="Framework" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32995737" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32894737" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32968238" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
      <window_info id="Structure" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
      <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.22974414" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
    </layout-to-restore>
  </component>
  <component name="Vcs.Log.UiProperties">
    <option name="RECENTLY_FILTERED_USER_GROUPS">
      <collection />
    </option>
    <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
      <collection />
    </option>
  </component>
  <component name="VcsContentAnnotationSettings">
    <option name="myLimit" value="2678400000" />
  </component>
  <component name="VcsManagerConfiguration">
    <option name="myTodoPanelSettings">
      <TodoPanelSettings />
    </option>
  </component>
  <component name="XDebuggerManager">
    <breakpoint-manager>
      <option name="time" value="1" />
    </breakpoint-manager>
    <watches-manager />
  </component>
  <component name="editorHistoryManager">
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Readers.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="965" max-vertical-offset="1620">
          <caret line="88" column="5" selection-start-line="88" selection-start-column="5" selection-end-line="88" selection-end-column="5" />
          <folding>
            <element signature="e#34#66#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Admin/ReadersAdmin.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="496" max-vertical-offset="1575">
          <caret line="70" column="23" selection-start-line="70" selection-start-column="23" selection-end-line="70" selection-end-column="23" />
          <folding>
            <element signature="e#6#320#0#PHP" expanded="true" />
            <element signature="e#348#379#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Admin/BooksAdmin.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="720" max-vertical-offset="1425">
          <caret line="60" column="27" selection-start-line="60" selection-start-column="27" selection-end-line="60" selection-end-column="27" />
          <folding>
            <element signature="e#6#340#0#PHP" expanded="true" />
            <element signature="e#370#405#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/ReadersController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="330" max-vertical-offset="720">
          <caret line="25" column="53" selection-start-line="25" selection-start-column="53" selection-end-line="25" selection-end-column="53" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/BooksController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="270" max-vertical-offset="720">
          <caret line="21" column="20" selection-start-line="21" selection-start-column="20" selection-end-line="21" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Books.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="106" max-vertical-offset="2055">
          <caret line="110" column="8" selection-start-line="110" selection-start-column="8" selection-end-line="110" selection-end-column="8" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Readers.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1770">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
          <folding>
            <element signature="e#34#66#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="598" max-vertical-offset="5625">
          <caret line="256" column="21" selection-start-line="256" selection-start-column="21" selection-end-line="256" selection-end-column="21" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-85.875" vertical-offset="9" max-vertical-offset="4335">
          <caret line="161" column="20" selection-start-line="161" selection-start-column="20" selection-end-line="161" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.3469751" vertical-offset="8145" max-vertical-offset="13005">
          <caret line="579" column="31" selection-start-line="579" selection-start-column="31" selection-end-line="579" selection-end-column="31" />
        </state>
      </provider>
    </entry>
    <entry file="jar://$APPLICATION_HOME_DIR$/plugins/php/lib/php.jar!/com/jetbrains/php/lang/psi/stubs/data/standard_8.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-0.12775841" vertical-offset="10280" max-vertical-offset="16530">
          <caret line="678" column="31" selection-start-line="678" selection-start-column="31" selection-end-line="678" selection-end-column="31" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilderInterface.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.34262484" vertical-offset="65" max-vertical-offset="1290">
          <caret line="31" column="20" selection-start-line="31" selection-start-column="20" selection-end-line="31" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Resources/public/css/theme.css">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="900">
          <caret line="46" column="13" selection-start-line="46" selection-start-column="13" selection-end-line="46" selection-end-column="13" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Selectable.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.3472222" vertical-offset="0" max-vertical-offset="864">
          <caret line="36" column="10" selection-start-line="36" selection-start-column="10" selection-end-line="36" selection-end-column="10" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="4995">
          <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="1.2708334" vertical-offset="117" max-vertical-offset="3510">
          <caret line="98" column="20" selection-start-line="98" selection-start-column="20" selection-end-line="98" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/AppBundle.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.24324325" vertical-offset="0" max-vertical-offset="555">
          <caret line="9" column="0" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/AppKernel.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.45945945" vertical-offset="0" max-vertical-offset="720">
          <caret line="18" column="38" selection-start-line="18" selection-start-column="38" selection-end-line="18" selection-end-column="38" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/security.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="270">
          <caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/Collection.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.3465704" vertical-offset="243" max-vertical-offset="3750">
          <caret line="45" column="10" selection-start-line="45" selection-start-column="10" selection-end-line="45" selection-end-column="10" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/doctrine/collections/lib/Doctrine/Common/Collections/ArrayCollection.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-7.7083335" vertical-offset="3400" max-vertical-offset="5625">
          <caret line="256" column="20" selection-start-line="256" selection-start-column="20" selection-end-line="256" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/new.sql">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="105">
          <caret line="1" column="77" selection-start-line="0" selection-start-column="0" selection-end-line="1" selection-end-column="77" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Admin/AdminInterface.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.34303796" vertical-offset="9404" max-vertical-offset="15120">
          <caret line="670" column="20" selection-start-line="670" selection-start-column="20" selection-end-line="670" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Controller/CRUDController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.49250937" vertical-offset="8422" max-vertical-offset="16590">
          <caret line="599" column="44" selection-start-line="599" selection-start-column="44" selection-end-line="599" selection-end-column="44" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/routing.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.016910935" vertical-offset="0" max-vertical-offset="887">
          <caret line="1" column="75" selection-start-line="1" selection-start-column="59" selection-end-line="1" selection-end-column="75" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Resources/config/routing/sonata_admin.xml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.40586245" vertical-offset="0" max-vertical-offset="887">
          <caret line="24" column="91" selection-start-line="24" selection-start-column="89" selection-end-line="24" selection-end-column="91" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Form/FormMapper.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="104.125" vertical-offset="2649" max-vertical-offset="3510">
          <caret line="21" column="6" selection-start-line="21" selection-start-column="6" selection-end-line="21" selection-end-column="6" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Admin/Admin.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.332696" vertical-offset="471" max-vertical-offset="41610">
          <caret line="50" column="12" selection-start-line="50" selection-start-column="4" selection-end-line="50" selection-end-column="12" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/vendor/sonata-project/admin-bundle/Mapper/BaseGroupedMapper.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-0.7396552" vertical-offset="864" max-vertical-offset="3045">
          <caret line="37" column="20" selection-start-line="37" selection-start-column="20" selection-end-line="37" selection-end-column="20" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Form/DataTransformer/ReadersRelationsDataTransformer.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-0.13240418" vertical-offset="759" max-vertical-offset="1620">
          <caret line="43" column="19" selection-start-line="43" selection-start-column="19" selection-end-line="43" selection-end-column="19" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/config.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.779661" vertical-offset="495" max-vertical-offset="1380">
          <caret line="79" column="27" selection-start-line="79" selection-start-column="27" selection-end-line="79" selection-end-column="27" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/app/config/services.yml">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="405">
          <caret line="20" column="75" selection-start-line="20" selection-start-column="75" selection-end-line="20" selection-end-column="75" />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Form/BooksForm.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.0" vertical-offset="180" max-vertical-offset="375">
          <caret line="13" column="32" selection-start-line="13" selection-start-column="32" selection-end-line="13" selection-end-column="32" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/ReadersAdminController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.31358886" vertical-offset="0" max-vertical-offset="861">
          <caret line="32" column="42" selection-start-line="32" selection-start-column="42" selection-end-line="32" selection-end-column="42" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Form/ReadersForm.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.20905924" vertical-offset="0" max-vertical-offset="861">
          <caret line="12" column="34" selection-start-line="12" selection-start-column="34" selection-end-line="12" selection-end-column="34" />
          <folding>
            <element signature="e#81#121#0#PHP" expanded="false" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/BooksAdminController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.087108016" vertical-offset="0" max-vertical-offset="861">
          <caret line="17" column="0" selection-start-line="17" selection-start-column="0" selection-end-line="19" selection-end-column="54" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Books.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="42.833332" vertical-offset="1268" max-vertical-offset="1830">
          <caret line="17" column="43" selection-start-line="17" selection-start-column="43" selection-end-line="17" selection-end-column="43" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Admin/BooksAdmin.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-7.1666665" vertical-offset="1103" max-vertical-offset="1665">
          <caret line="85" column="0" selection-start-line="85" selection-start-column="0" selection-end-line="85" selection-end-column="0" />
          <folding>
            <element signature="e#6#340#0#PHP" expanded="true" />
            <element signature="e#370#405#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/BooksController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-6.875" vertical-offset="0" max-vertical-offset="270">
          <caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Readers.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-18.125" vertical-offset="0" max-vertical-offset="1740">
          <caret line="29" column="0" selection-start-line="29" selection-start-column="0" selection-end-line="29" selection-end-column="0" />
          <folding>
            <element signature="e#34#66#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Admin/ReadersAdmin.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-14.041667" vertical-offset="1613" max-vertical-offset="2175">
          <caret line="130" column="43" selection-start-line="130" selection-start-column="43" selection-end-line="130" selection-end-column="43" />
          <folding>
            <element signature="e#6#320#0#PHP" expanded="true" />
            <element signature="e#348#379#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Controller/ReadersController.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-10.0" vertical-offset="0" max-vertical-offset="330">
          <caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
          <folding>
            <element signature="e#96#145#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/ReadersRelations.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="15.333333" vertical-offset="773" max-vertical-offset="1335">
          <caret line="27" column="7" selection-start-line="27" selection-start-column="7" selection-end-line="27" selection-end-column="7" />
          <folding>
            <element signature="e#34#66#0#PHP" expanded="true" />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Entity/Repositories/ReadersRepository.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-11.875" vertical-offset="0" max-vertical-offset="540">
          <caret line="19" column="46" selection-start-line="19" selection-start-column="46" selection-end-line="19" selection-end-column="46" />
          <folding>
            <marker date="1433349838106" expanded="true" signature="396:580" placeholder="SELECT R.id,..AppBundle..." />
          </folding>
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/composer.json">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-11.541667" vertical-offset="8" max-vertical-offset="1185">
          <caret line="19" column="38" selection-start-line="19" selection-start-column="17" selection-end-line="19" selection-end-column="38" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/.gitignore">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="-7.2" vertical-offset="0" max-vertical-offset="270">
          <caret line="12" column="5" selection-start-line="12" selection-start-column="5" selection-end-line="12" selection-end-column="5" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Tests/Controller/DefaultControllerTest.php">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.24390244" vertical-offset="0" max-vertical-offset="861">
          <caret line="14" column="20" selection-start-line="14" selection-start-column="20" selection-end-line="14" selection-end-column="20" />
          <folding />
        </state>
      </provider>
    </entry>
    <entry file="file://$PROJECT_DIR$/src/AppBundle/Resources/public/js/controllers/controllers.js">
      <provider selected="true" editor-type-id="text-editor">
        <state vertical-scroll-proportion="0.40677965" vertical-offset="0" max-vertical-offset="885">
          <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
          <folding />
        </state>
      </provider>
    </entry>
  </component>
</project>


text:
import cherrypy, hashlib, json, functools
from datetime import datetime
from binascii import a2b_qp

import settings
from templait import Templait

class Auth:
    """ Authentication handling """
    def __init__(self, db):
        self.db = db()
        self.cur = self.db.connect(settings.DSN)
        self.session_id = -1
        self.user_id = -1
        self.username = ''
        self.password = ''

        self._startHash()
        self._authenticated = False

        self.check()

    def __del__(self):
        self.db.disconnect()

    def _startHash(self):
        self.hashObj = hashlib.sha256()
        if settings.SALT:
            self.hash.update(a2b_qp(settings.SALT))

    def _setCookie(self):
        cherrypy.response.cookie['session'] = self.session_id
        cherrypy.response.cookie['session']['expires'] = 7200 # 2 hours

    def _getCookie(self):
        sessionCookie = cherrypy.request.cookie.get('session')
        if sessionCookie:
            self.session_id = sessionCookie.value
        else:
            self.session_id = -1
        return self.session_id

    def check(self):
        if self._getCookie():

            self.cur.execute("""SELECT user_session_id, user_id FROM pq_user_session WHERE session_update + interval '2 hours' < now() AND user_session_id = %s;""", (self.session_id, ))
            if self.cur.rowcount > 0:
                session = self.cur.fetchone()
                self.cur.execute("""UPDATE pq_user_session SET session_update = now() WHERE session_id = %s""", (session['session_id'], ))
                self.db.commit()
                self._authenticated = True
                return True
            else:
                return False
        else:
            return False

    def hash(self, password):
        self.hashObj = hashlib.sha256()
        self.hashObj.update(a2b_qp(password))
        return self.hashObj.hexdigest()

    def login(self, username, password):
        hash = self.hash(password)
        self.cur.execute("""SELECT user_id FROM pq_user WHERE username = %s AND password = %s;""", (username, hash, ))
        if self.cur.rowcount > 0:
            res = self.cur.fetchone()
            self.user_id = res['user_id']
            self._authenticated = True

            # cleanup while we're here
            self.cur.execute("""DELETE FROM pq_user_session WHERE user_id = %s AND session_update + interval '2 hours' < now()""", (self.user_id, ))
            # Add the session
            self.cur.execute("""INSERT INTO pq_user_session (user_id, session_start) VALUES (%s, %s);""", (self.user_id, datetime.now(), ))
            self.db.commit()

    def is_authenticated(self, no_redirect = False, debug = False):
        if not self._authenticated:
            if no_redirect:
                raise cherrypy.HTTPError(401, "You must be logged in.")
            else:
                raise cherrypy.HTTPRedirect('/login')

class LoginPage:
    exposed = True
    def __init__(self, auth):
        self.auth = auth
    def GET(self):
        if self.auth._authenticated:
            raise cherrypy.HTTPRedirect('/')
        else:
            t = Templait(settings.APP_ROOT + '/templates/login.html')
            return t.render()
    def POST(self, username, password):
        self.auth.login(username, password)
        if self.auth._authenticated:
            self.auth._setCookie()
            if cherrypy.request.headers.get('X-Requested-With') == 'XMLHttpRequest':
                cherrypy.response.headers['Content-Type'] = 'application/json'
                return json.dumps({
                    'result': 'success',
                    'message': 'Logged in successfully!'
                })
            else:
                raise cherrypy.HTTPRedirect('/')
        else:
            if cherrypy.request.headers.get('X-Requested-With') == 'XMLHttpRequest':
                cherrypy.response.headers['Content-Type'] = 'application/json'
                return json.dumps({
                    'result': 'failure',
                    'message': 'Username or password is incorrect.'
                })
            else:
                raise cherrypy.HTTPRedirect('/login')

redpajama_set_name: RedPajamaGithub


text:
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.01.28 at 11:39:24 PM COT
//

package com.bpm4sb.bpmn;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;

/**
 *
Java class for tTask complex type.
 *
 *
The following schema fragment specifies the expected content contained within this class.
 *
 *

 * <complexType name="tTask">
 *   <complexContent>
 *     <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tActivity">
 *       <anyAttribute processContents='lax' namespace='##other'/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 *

 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tTask")
@XmlSeeAlso({
    TScriptTask.class,
    TSendTask.class,
    TReceiveTask.class,
    TBusinessRuleTask.class,
    TManualTask.class,
    TServiceTask.class,
    TUserTask.class
})
public class TTask
    extends TActivity
{

}


text:
package com.cloudex.spring.ioc.events;

import org.springframework.context.ApplicationEvent;
import org.springframework.core.ResolvableType;
import org.springframework.core.ResolvableTypeProvider;

/**
 * Created by zunyuan.jy on 16/10/9.
 */
public class TestCustomGenericEvent<T> extends ApplicationEvent implements ResolvableTypeProvider {
    /**
     * Create a new ApplicationEvent.
     *
     * @param source the object on which the event initially occurred (never {@code null})
     */
    public TestCustomGenericEvent(T source) {
        super(source);
    }

    @Override
    public ResolvableType getResolvableType() {
        return ResolvableType.forClassWithGenerics(getClass(),
                ResolvableType.forInstance(getSource()));
    }
}


text:
import React, { PropTypes } from 'react'

import TextInput from '../forms/text-input'
import PasswordInput from '../forms/password-input'

class Register extends React.Component {
  constructor(props, context) {
    super(props, context)

    this.onChange = this.onChange.bind(this)
    this.submit = this.submit.bind(this)

    this.state = {
      name: '',
      email: '',
      password: '',
      passwordConfirmation: '',
    }
  }

  onChange(event) {
    const field = event.target.name
    this.setState({
      ...this.state,
      [field]: event.target.value,
    })
  }

  submit(event) {
    event.preventDefault()
    const { onCreate, onError } = this.props
    const { password, passwordConfirmation } = this.state

    if (password != passwordConfirmation) {
      onError('Password and password confirmation do not match!')
    } else {
      onCreate(this.state)
    }
  }

  render() {
    const { name, email, password, passwordConfirmation } = this.state
    return (

        <form onSubmit={this.submit}>
          <TextInput name="name" label="Name"
                     value={name} onChange={this.onChange} />
          <TextInput name="email" label="Email"
                     value={email} onChange={this.onChange} />
          <PasswordInput name="password" label="Password"
                         value={password} onChange={this.onChange} />
          <PasswordInput name="passwordConfirmation" label="Confirm Password"
                         value={passwordConfirmation} onChange={this.onChange} />

            <button type="submit" className="btn btn-success">
              Register
            </button>

        </form>

    )
  }
}

Register.propTypes = {
  onCreate: PropTypes.func,
  onError: PropTypes.func,
}

export default Register


text:
package io.aif.algorithms.graph.fuzzy.similarity;

import io.aif.fuzzy.bool.FuzzyBoolean;
import io.aif.fuzzy.graph.IFuzzyGraph;

import java.util.Optional;

public class GraphsEdgeSimilarityCalculator<T> implements ISimilarityCalculator<T> {

    private final IFuzzyGraph<T> left;

    private final IFuzzyGraph<T> right;

    private final double similarityThreshold;

    public GraphsEdgeSimilarityCalculator(
            final IFuzzyGraph<T> left,
            final IFuzzyGraph<T> right,
            double similarityThreshold) {
        this.left = left;
        this.right = right;
        this.similarityThreshold = similarityThreshold;
    }

    @Override
    public FuzzyBoolean similar(final T from, final T to) {
        final Optional<FuzzyBoolean> leftEdge = left.getEdge(from, to);
        final Optional<FuzzyBoolean> rightEdge = right.getEdge(from, to);
        if (leftEdge.isPresent() && !rightEdge.isPresent()) {
            return new FuzzyBoolean(.0, similarityThreshold);
        }
        if (leftEdge.get().isTrue() && !rightEdge.get().isTrue()) {
            return new FuzzyBoolean(.0, similarityThreshold);
        }
        if (!leftEdge.get().isTrue() && rightEdge.get().isTrue()) {
            return new FuzzyBoolean(.0, similarityThreshold);
        }
        if (!leftEdge.get().isTrue() && !rightEdge.get().isTrue()) {
            return new FuzzyBoolean(1., similarityThreshold);
        }
        final double similarity = Math.min(leftEdge.get().getValue(), rightEdge.get().getValue()) /
                Math.max(leftEdge.get().getValue(), rightEdge.get().getValue());
        return new FuzzyBoolean(similarity, similarityThreshold);
    }
}


text:
package org.kie.pmml.pmml_4_2.model.mining;

import static org.junit.Assert.*;

import org.dmg.pmml.pmml_4_2.descr.SimplePredicate;
import org.junit.Before;
import org.junit.Test;

public class SimpleSegmentPredicateTest {
    private SimplePredicate predicate;
    private SimplePredicate stringPred;
    private static final String BAD_OP = "invalidOp";

    @Before
    public void setUp() throws Exception {
        predicate = new SimplePredicate();
        predicate.setField("TF2");
        predicate.setValue("123");

        stringPred = new SimplePredicate();
        stringPred.setField("TF3");
        stringPred.setValue("optA");
    }

    @Test
    public void testStringValue() {
        stringPred.setOperator(SimpleSegmentPredicate.EQUAL);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(stringPred);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF3 == false ) && ( vTF3 == \"optA\" )",text);

        predicate.setOperator(SimpleSegmentPredicate.EQUAL);
        ssp = new SimpleSegmentPredicate(predicate);
        text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 == 123 )",text);
    }

    @Test
    public void testEquals() {
        predicate.setOperator(SimpleSegmentPredicate.EQUAL);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 == 123 )",text);
    }

    @Test
    public void testNotEquals() {
        predicate.setOperator(SimpleSegmentPredicate.NOT_EQUAL);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 != 123 )",text);
    }

    @Test
    public void testGreaterThan() {
        predicate.setOperator(SimpleSegmentPredicate.GREATER);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 > 123 )",text);
    }

    @Test
    public void testLessThan() {
        predicate.setOperator(SimpleSegmentPredicate.LESSER);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 < 123 )",text);
    }

    @Test
    public void testMissing() {
        predicate.setOperator(SimpleSegmentPredicate.MISSING);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("mTF2 == true",text);
    }

    @Test
    public void testGreaterEqual() {
        predicate.setOperator(SimpleSegmentPredicate.GREATER_EQUAL);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 >= 123 )",text);
    }

    @Test
    public void testLesserEqual() {
        predicate.setOperator(SimpleSegmentPredicate.LESSER_EQUAL);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("( mTF2 == false ) && ( vTF2 <= 123 )",text);
    }

    @Test
    public void testNotMissing() {
        predicate.setOperator(SimpleSegmentPredicate.NOT_MISSING);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNotNull(text);
        assertEquals("mTF2 == false",text);
    }

    @Test(expected=IllegalStateException.class)
    public void testBadOperator() {
        predicate.setOperator(BAD_OP);
        SimpleSegmentPredicate ssp = new SimpleSegmentPredicate(predicate);
        String text = ssp.getPredicateRule();
        assertNull(text);
    }

}


text:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="CoreNLP-to-HTML.xsl" type="text/xsl"?>
<root>
  <document>
    <sentences>
      <sentence id="1">
        <tokens>
          <token id="1">
            <word>up</word>
            <lemma>up</lemma>
            <CharacterOffsetBegin>0</CharacterOffsetBegin>
            <CharacterOffsetEnd>2</CharacterOffsetEnd>
            <POS>IN</POS>
          </token>
          <token id="2">
            <word>a</word>
            <lemma>a</lemma>
            <CharacterOffsetBegin>3</CharacterOffsetBegin>
            <CharacterOffsetEnd>4</CharacterOffsetEnd>
            <POS>DT</POS>
          </token>
          <token id="3">
            <word>gum</word>
            <lemma>gum</lemma>
            <CharacterOffsetBegin>5</CharacterOffsetBegin>
            <CharacterOffsetEnd>8</CharacterOffsetEnd>
            <POS>NN</POS>
          </token>
          <token id="4">
            <word>tree</word>
            <lemma>tree</lemma>
            <CharacterOffsetBegin>9</CharacterOffsetBegin>
            <CharacterOffsetEnd>13</CharacterOffsetEnd>
            <POS>NN</POS>
          </token>
          <token id="5">
            <word>troubled</word>
            <lemma>trouble</lemma>
            <CharacterOffsetBegin>14</CharacterOffsetBegin>
            <CharacterOffsetEnd>22</CharacterOffsetEnd>
            <POS>VBD</POS>
          </token>
        </tokens>
        <parse>(ROOT (FRAG (ADVP (IN up)) (NP (NP (DT a) (NN gum) (NN tree)) (SBAR (S (VP (VBD troubled))))))) </parse>
        <dependencies type="basic-dependencies">
          <dep type="root">
            <governor idx="0">ROOT</governor>
            <dependent idx="4">tree</dependent>
          </dep>
          <dep type="dep">
            <governor idx="4">tree</governor>
            <dependent idx="1">up</dependent>
          </dep>
          <dep type="det">
            <governor idx="4">tree</governor>
            <dependent idx="2">a</dependent>
          </dep>
          <dep type="nn">
            <governor idx="4">tree</governor>
            <dependent idx="3">gum</dependent>
          </dep>
          <dep type="rcmod">
            <governor idx="4">tree</governor>
            <dependent idx="5">troubled</dependent>
          </dep>
        </dependencies>
        <dependencies type="collapsed-dependencies">
          <dep type="root">
            <governor idx="0">ROOT</governor>
            <dependent idx="4">tree</dependent>
          </dep>
          <dep type="dep">
            <governor idx="4">tree</governor>
            <dependent idx="1">up</dependent>
          </dep>
          <dep type="det">
            <governor idx="4">tree</governor>
            <dependent idx="2">a</dependent>
          </dep>
          <dep type="nn">
            <governor idx="4">tree</governor>
            <dependent idx="3">gum</dependent>
          </dep>
          <dep type="rcmod">
            <governor idx="4">tree</governor>
            <dependent idx="5">troubled</dependent>
          </dep>
        </dependencies>
        <dependencies type="collapsed-ccprocessed-dependencies">
          <dep type="root">
            <governor idx="0">ROOT</governor>
            <dependent idx="4">tree</dependent>
          </dep>
          <dep type="dep">
            <governor idx="4">tree</governor>
            <dependent idx="1">up</dependent>
          </dep>
          <dep type="det">
            <governor idx="4">tree</governor>
            <dependent idx="2">a</dependent>
          </dep>
          <dep type="nn">
            <governor idx="4">tree</governor>
            <dependent idx="3">gum</dependent>
          </dep>
          <dep type="rcmod">
            <governor idx="4">tree</governor>
            <dependent idx="5">troubled</dependent>
          </dep>
        </dependencies>
      </sentence>
    </sentences>
  </document>
</root>


text:
package com.ehensin.tunnel.client.event;
/**
 * event type enumeration
 *
 * */
public enum EventTypeEnum {
    CHANNEL_GRADE,
    TUNNAL_GRADE,
    ASYNC_CALLBACK,
    CONFIG_UPDATE
}


text:
package org.datadog.jenkins.plugins.datadog.stubs;

import hudson.model.ItemGroup;
import hudson.model.Project;
import hudson.model.TopLevelItem;
import hudson.model.TopLevelItemDescriptor;

import java.io.IOException;

public class ProjectStub extends Project<ProjectStub, BuildStub> implements TopLevelItem {
    public ProjectStub(ItemGroup parent, String name) {
        super(parent, name);
    }

    @Override
    protected Class<BuildStub> getBuildClass() {
        return null;
    }

    @Override
    public TopLevelItemDescriptor getDescriptor() {
        return null;
    }

    public synchronized int assignBuildNumber() throws IOException {
        return 0;
    }
}


text:
package eu.syrou.blemodule;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;

import eu.syrou.coremodule.DeviceManager;

/**
 * Created by Syrou on 2016-02-11.
 */
@Aspect
public class InjectMe {
    @After("execution(*  eu.syrou.autoloader.LoginActivity.onCreate(..))")
    public void postOnCreate(JoinPoint thisJoinPoint) {
        DeviceManager.getInstance().addDevice(new BLEDevice("Injected BLE", 2, "Injected BLE Device", "A BLE device that was injected"));
    }
}


text:
package org.springframework.boot.docs.springbootfeatures.testing;

// tag::code[]
import org.junit.jupiter.api.Test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.test.web.reactive.server.WebTestClient;

@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT)
class RandomPortWebTestClientTests {

	@Test
	void exampleTest(@Autowired WebTestClient webClient) {
		webClient.get().uri("/").exchange().expectStatus().isOk().expectBody(String.class).isEqualTo("Hello World");
	}

}
// end::code[]


text:
"""
Created on Wed Dec  7 15:55:37 2016

pandas summary

http://pandas.pydata.org/pandas-docs/stable/basics.html

can search this page to find howto

0 or 'index' for row-wise, 1 or 'columns' for column-wise

"""
import pickle
import pandas as pd
import numpy as np

# used in notebook
import matplotlib.pyplot as plt
%matplotlib inline

#.iloc() -- position index; .loc() -- label index.

# general info
df.head(), df.info()
# read excel data from a folder
    from os import listdir
    from os.path import isfile, join
    # windows change from \ to /
    mypath = 'C://Documents/data//'
    fileNames = [f for f in listdir(mypath) if isfile(join(mypath, f))]
    df_all = pd.DataFrame() # empty df
    for fileName in fileNames:
        fileName = join(mypath, fileName)
        df = pd.read_excel(fileName)
        print(df.shape)
        df_all = df_all.append(df)
        print(df_all.shape)
    print(df_all.info())
# write into a excel file
    writer = ExcelWriter('historical.xlsx')
    df.to_excel(writer, 'fx')
    writer.save()

# dump or load pickle
    with open('historical.pkl', 'wb') as f:
        pickle.dump(df_all, f)
    df_loaded = pickle.load(open('historical.pkl', 'rb'))

# pd select columns
df_all = df_all[['level', 'name']]
# pd filtering
df = df[df['st'] != '-']
df = df[df['tr'] > 60]
# convert time from string to datetime
df['time']= pd.to_datetime(df['time'], infer_datetime_format=True)
# filtering the time
df_past = df[df['happen_time'] < datetime.datetime(2016,6,1,0,0,0)]
# pd sort by a column value
df = df.sort_values(by='st')
# format print
print('number of action = {0}'.format(len(df)))
# iterate dataframe
    for i in range(1,len(df)):
        if ((df.iloc[i]['name'] == df.iloc[i-1]['name']) # two index access maynot can change it
# generate new collumn from existing columns
    df['tr'] = (df['st1'] - df['st']).apply(lambda x: x.total_seconds())
    df['source'] = df['s1'] + ' / ' + df['s2']

# drop na and duplicates
df = df.drop_duplicates(['name', 'tv'])
df = df.dropna(subset = ['name'])

# convert pd into numpy array
pd.values
# another way to iterate pd row by row
    for row in df.itertuples(index=False):
        print(row) # row is a namedtuple
# group data using column
    grouped = df.groupby('source')
    for name, group in grouped:
# set value to an element in df
df.iloc[i, df.columns.get_loc('ro')] = 'de'
# drop columns from df
df = df.drop(['level', 'tr'], axis=1)

# pd concat or append
df = pd.concat([df, df_latest], axis=0)

# create pandas df from list of tuple, also can from a list or a dict
    name_fre = [(name, len(group)) for name, group in grouped]
    name_fre_df = pd.DataFrame(name_fre, columns=['name', 'Freq'])
# double condition selection
    small_alarms = df[(name_fre_df['Frequency']>10) & (name_fre_df['Frequency']<100)]['name'].values.tolist()
# only select value from a list
df_large = df[df['name'].isin(large)]
# pd one hot encoding categorical data, better one use sklearn or write your own
hour_dummies = pd.get_dummies(ml_df['hour'],prefix='hour')
# apply func to a column
ip_head = ip_head.apply(lambda x: x.split('.')[0])

# add a column in pd
data['price'] = 0
# delete a column
del data['price']
# rename a column
data = data.rename(columns={'NAME':'PLANET'})

# The column names, as an Index object
print( df.columns )
# convert to list
list(df.columns)

# view pd's column in two styles
df.beer_style# 1. attribute style
df['beer_style'] # 2. dict style

# string operation and selection
boolean_mask = df.beer_style.str.contains('[A|a]merican')
df.beer_style[boolean_mask]

# Statistical Operations through Indexing
beer_ids = df.beer_id.value_counts(sort=True) # count frequency of each id

# iloc access
# row, column
df.iloc[[2,5,10],0:3]

# lambda funciton
lambda x: x= 0

# 3 steps
grouped = data.groupby(lambda x: x.year) #1. group
grouped.get_group(1997) #2.  split

gr = df.groupby('beer_style') # gr is a groupby object
gr.agg('mean') # get some statistics from each group
# only a subset
review_columns = ['abv','review_overall','review_appearance',
                  'review_palate','review_taste']
gr[review_columns].agg('mean')

gr['review_aroma'].agg([np.mean, np.std, 'count']) # multiple aggregation

#
#Attributes and the raw ndarray(s)
# shape; columns and index
df.columns = [x.lower() for x in df.columns]

# Flexible binary operations
row = df.ix[1]
column = df['two']
df.sub(row, axis='columns')

df + df2
df.add(df2, fill_value=0)
df.gt(df2)

# Descriptive statistics; DataFrame: "index" (axis=0, default), "columns" (axis=1)
df.mean(0)
df.sum(0, skipna=False)
# normalize column
ts_stand = (df - df.mean()) / df.std()
# normalize each row
xs_stand = df.sub(df.mean(1), axis=0).div(df.std(1), axis=0)

# index of min and max
df1.idxmin(axis=0)
df1.idxmax(axis=1)

# Value counts (histogramming)
s = pd.Series(np.random.randint(0, 7, size=50))
s.value_counts()

# Row or Column-wise Function Application
df.apply(np.mean)
df.apply(np.mean, axis=1)
# can pass additional parameters to function

# Applying elementwise Python functions
# applymap() for df; map() for Series (column); func takes a single value and output a single value
f = lambda x: len(str(x))
df4['one'].map(f)
df4.applymap(f)

# iteration
for i in object:
# Series, value
# dataframe, column name
for col in df:
    print(col)
# itertuples is a lot faster than iterrows
# itertuples return each row as a namedtuple
# a namedtuple is as row = (Index=0, a=1, b='a'). can be access as: row.a

# .dt  for Series
s = pd.Series(pd.date_range('20130101 09:10:12', periods=4))
s.dt.day
s.dt.hour
s.dt.second
s[s.dt.day==2]
s.dt.strftime('%Y/%m/%d') # convert datatime to string

# pd.date_range to generate data range

# Vectorized string methods - Series; exclude missing/NA values automatically
s = pd.Series(['A', 'B', 'C', 'Aaba', 'Baca', np.nan, 'CABA', 'dog', 'cat'])
s.str.lower()
# clean up the columns; chaining because all method return a Series
df.columns = df.columns.str.strip().str.lower().str.replace(' ', '_')

# Sorting
#sort by index
unsorted_df.sort_index()
# sort by value
df1 = pd.DataFrame({'one':[2,1,1,1],'two':[1,3,2,4],'three':[5,4,3,2]})
df1[['one', 'two', 'three']].sort_values(by=['one','two'])

# smallest / largest values
s = pd.Series(np.random.permutation(10))
s.nsmallest(3)
df = pd.DataFrame({'a': [-2, -1, 1, 10, 8, 11, -1],
                   'b': list('abdceff')})
df.nlargest(3, 'a')
# series.nlargest
s = pd.Series(np.randam.rand(100))
s.largest(10)

# dtypes of each columns
dft.dtypes

#astype
dft = pd.DataFrame({'a': [1,2,3], 'b': [4,5,6], 'c': [7, 8, 9]})
dft[['a','b']] = dft[['a','b']].astype(np.uint8)

#pd.to_datetime()
#to_numeric()
df.apply(pd.to_datetime)

# Method chaining; since each method return a df.
def read(fp):
    df = (pd.read_csv(fp)
            .rename(columns=str.lower)
            .drop('unnamed: 36', axis=1)
            .pipe(extract_city_name)
            .pipe(time_to_datetime, ['dep_time', 'arr_time', 'crs_arr_time', 'crs_dep_time'])
            .assign(fl_date=lambda x: pd.to_datetime(x['fl_date']),
                    dest=lambda x: pd.Categorical(x['dest']),
                    origin=lambda x: pd.Categorical(x['origin']),
                    tail_num=lambda x: pd.Categorical(x['tail_num']),
                    unique_carrier=lambda x: pd.Categorical(x['unique_carrier']),
                    cancellation_code=lambda x: pd.Categorical(x['cancellation_code'])))
    return df
# pipe your own function
>>> (df.pipe(h)
...    .pipe(g, arg1=a)
...    .pipe(f, arg2=b, arg3=c)
... )