Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ILMSessionFacet to ILMSession across the board #858

Closed
jrjohnson opened this issue Jun 18, 2015 · 4 comments · Fixed by #883
Closed

Change ILMSessionFacet to ILMSession across the board #858

jrjohnson opened this issue Jun 18, 2015 · 4 comments · Fixed by #883
Assignees

Comments

@jrjohnson
Copy link
Member

To create a more consistent API we need to find all instances of ILMSessionFacet and change them to ILMSession.

@stopfstedt
Copy link
Member

stefan@herrfuchs: ~/dev/projects/ilios/src on 858_mv_ilmsessionfacet_ilmsession
$ grep -ri 'facet' .
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:use Ilios\CoreBundle\Form\Type\IlmSessionFacetType;
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:use Ilios\CoreBundle\Entity\Manager\IlmSessionFacetManager;
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:use Ilios\CoreBundle\Entity\IlmSessionFacetInterface;
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php: * Class IlmSessionFacetHandler
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:class IlmSessionFacetHandler extends IlmSessionFacetManager
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:        $ilmSessionFacet = $this->createIlmSessionFacet();
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:        return $this->processForm($ilmSessionFacet, $parameters, 'POST');
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:        IlmSessionFacetInterface $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:        IlmSessionFacetInterface $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:        IlmSessionFacetInterface $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            new IlmSessionFacetType(),
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            $ilmSessionFacet = $form->getData();
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            $this->updateIlmSessionFacet(
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:                $ilmSessionFacet,
./Ilios/CoreBundle/Handler/IlmSessionFacetHandler.php:            return $ilmSessionFacet;
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:use Ilios\CoreBundle\Entity\IlmSessionFacetInterface;
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php: * Class IlmSessionFacetManager
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:class IlmSessionFacetManager implements IlmSessionFacetManagerInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:    public function findIlmSessionFacetBy(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:    public function findIlmSessionFacetsBy(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:    public function updateIlmSessionFacet(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:        IlmSessionFacetInterface $ilmSessionFacet,
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:        $this->em->persist($ilmSessionFacet);
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:            $metadata = $this->em->getClassMetaData(get_class($ilmSessionFacet));
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:    public function deleteIlmSessionFacet(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:        IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:        $this->em->remove($ilmSessionFacet);
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManager.php:    public function createIlmSessionFacet()
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:use Ilios\CoreBundle\Entity\IlmSessionFacetInterface;
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php: * Interface IlmSessionFacetManagerInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:interface IlmSessionFacetManagerInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:    public function findIlmSessionFacetBy(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:    public function findIlmSessionFacetsBy(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:    public function updateIlmSessionFacet(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:        IlmSessionFacetInterface $ilmSessionFacet,
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:    public function deleteIlmSessionFacet(
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:        IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/Manager/IlmSessionFacetManagerInterface.php:    public function createIlmSessionFacet();
./Ilios/CoreBundle/Entity/InstructorGroupInterface.php:     * @param Collection $ilmSessionFacets
./Ilios/CoreBundle/Entity/InstructorGroupInterface.php:    public function setIlmSessions(Collection $ilmSessionFacets);
./Ilios/CoreBundle/Entity/InstructorGroupInterface.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/InstructorGroupInterface.php:    public function addIlmSession(IlmSessionFacetInterface $ilmSessionFacet);
./Ilios/CoreBundle/Entity/InstructorGroupInterface.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/Session.php: *     @ORM\Index(name="session_ibfk_3", columns={"ilm_session_facet_id"})
./Ilios/CoreBundle/Entity/Session.php:     * @var IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/Session.php:     * @ORM\OneToOne(targetEntity="IlmSessionFacet", inversedBy="session")
./Ilios/CoreBundle/Entity/Session.php:     *   @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", nullable=true)
./Ilios/CoreBundle/Entity/Session.php:     * @JMS\SerializedName("ilmSessionFacet")
./Ilios/CoreBundle/Entity/Session.php:    protected $ilmSessionFacet;
./Ilios/CoreBundle/Entity/Session.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/Session.php:    public function setIlmSessionFacet(IlmSessionFacetInterface $ilmSessionFacet)
./Ilios/CoreBundle/Entity/Session.php:        $this->ilmSessionFacet = $ilmSessionFacet;
./Ilios/CoreBundle/Entity/Session.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/Session.php:    public function getIlmSessionFacet()
./Ilios/CoreBundle/Entity/Session.php:        return $this->ilmSessionFacet;
./Ilios/CoreBundle/Entity/LearnerGroup.php:     * @var ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/LearnerGroup.php:     * @ORM\ManyToMany(targetEntity="IlmSessionFacet", mappedBy="learnerGroups")
./Ilios/CoreBundle/Entity/LearnerGroup.php:     * @param IlmSessionFacetInterface $ilmSession
./Ilios/CoreBundle/Entity/LearnerGroup.php:    public function addIlmSession(IlmSessionFacetInterface $ilmSession)
./Ilios/CoreBundle/Entity/LearnerGroup.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/IlmSessionFacetInterface.php: * Interface IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/IlmSessionFacetInterface.php:interface IlmSessionFacetInterface extends IdentifiableEntityInterface
./Ilios/CoreBundle/Entity/InstructorGroup.php:     * @var ArrayCollection|IlmSessionFacet[]
./Ilios/CoreBundle/Entity/InstructorGroup.php:     * @ORM\ManyToMany(targetEntity="IlmSessionFacet", mappedBy="instructorGroups")
./Ilios/CoreBundle/Entity/InstructorGroup.php:     * @param Collection $ilmSessionFacets
./Ilios/CoreBundle/Entity/InstructorGroup.php:    public function setIlmSessions(Collection $ilmSessionFacets)
./Ilios/CoreBundle/Entity/InstructorGroup.php:        $this->ilmSessionFacets = new ArrayCollection();
./Ilios/CoreBundle/Entity/InstructorGroup.php:        foreach ($ilmSessionFacets as $ilmSessionFacet) {
./Ilios/CoreBundle/Entity/InstructorGroup.php:            $this->addIlmSession($ilmSessionFacet);
./Ilios/CoreBundle/Entity/InstructorGroup.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/InstructorGroup.php:    public function addIlmSession(IlmSessionFacetInterface $ilmSessionFacet)
./Ilios/CoreBundle/Entity/InstructorGroup.php:        $this->ilmSessions->add($ilmSessionFacet);
./Ilios/CoreBundle/Entity/InstructorGroup.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/IlmSessionFacet.php: * Class IlmSessionFacet
./Ilios/CoreBundle/Entity/IlmSessionFacet.php: * @ORM\Table(name="ilm_session_facet")
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:class IlmSessionFacet implements IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     * @ORM\Column(name="ilm_session_facet_id", type="integer")
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     * @ORM\JoinTable(name="ilm_session_facet_x_group",
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     * @ORM\JoinTable(name="ilm_session_facet_x_instructor_group",
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     * @ORM\JoinTable(name="ilm_session_facet_x_instructor",
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     * @ORM\JoinTable(name="ilm_session_facet_x_learner",
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSessionFacet.php:     * @ORM\OneToOne(targetEntity="Session", mappedBy="ilmSessionFacet")
./Ilios/CoreBundle/Entity/SessionInterface.php:     * @param IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Entity/SessionInterface.php:    public function setIlmSessionFacet(IlmSessionFacetInterface $ilmSessionFacet);
./Ilios/CoreBundle/Entity/SessionInterface.php:     * @return IlmSessionFacetInterface
./Ilios/CoreBundle/Entity/SessionInterface.php:    public function getIlmSessionFacet();
./Ilios/CoreBundle/Entity/User.php:    * @var ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/User.php:    * @ORM\ManyToMany(targetEntity="IlmSessionFacet", mappedBy="instructors")
./Ilios/CoreBundle/Entity/User.php:    * @var ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/User.php:    * @ORM\ManyToMany(targetEntity="IlmSessionFacet", mappedBy="learners")
./Ilios/CoreBundle/Entity/User.php:     * @param IlmSessionFacetInterface $session
./Ilios/CoreBundle/Entity/User.php:    public function addInstructorIlmSessions(IlmSessionFacetInterface $session)
./Ilios/CoreBundle/Entity/User.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/User.php:     * @param IlmSessionFacetInterface $session
./Ilios/CoreBundle/Entity/User.php:    public function addLearnerIlmSessions(IlmSessionFacetInterface $session)
./Ilios/CoreBundle/Entity/User.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Entity/LearnerGroupInterface.php:     * @param IlmSessionFacetInterface $ilmSession
./Ilios/CoreBundle/Entity/LearnerGroupInterface.php:    public function addIlmSession(IlmSessionFacetInterface $ilmSession);
./Ilios/CoreBundle/Entity/LearnerGroupInterface.php:     * @return ArrayCollection|IlmSessionFacetInterface[]
./Ilios/CoreBundle/Tests/Fixture/LoadIlmSessionData.php:use Ilios\CoreBundle\Entity\IlmSessionFacet;
./Ilios/CoreBundle/Tests/Fixture/LoadIlmSessionData.php:            $entity = new IlmSessionFacet();
./Ilios/CoreBundle/Tests/Fixture/LoadSessionData.php:            $entity->setIlmSessionFacet($this->getReference('ilmSessions' . $arr['ilmSessionFacet']));
./Ilios/CoreBundle/Tests/Entity/SessionTest.php:     * @covers Ilios\CoreBundle\Entity\Session::setIlmSessionFacet
./Ilios/CoreBundle/Tests/Entity/SessionTest.php:     * @covers Ilios\CoreBundle\Entity\Session::getIlmSessionFacet
./Ilios/CoreBundle/Tests/Entity/SessionTest.php:    public function testSetIlmSessionFacet()
./Ilios/CoreBundle/Tests/Entity/SessionTest.php:        $this->entitySetTest('ilmSessionFacet', "IlmSessionFacet");
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:use Ilios\CoreBundle\Entity\IlmSessionFacet;
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php: * Tests for Entity IlmSessionFacet
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:class IlmSessionFacetTest extends EntityBase
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @var IlmSessionFacet
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * Instantiate a IlmSessionFacet object
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:        $this->object = new IlmSessionFacet;
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::__construct
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::setHours
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::getHours
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::setDueDate
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::getDueDate
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::addLearnerGroup
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::getLearnerGroups
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::addInstructorGroup
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::getInstructorGroups
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::addInstructor
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::getInstructors
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::addLearner
./Ilios/CoreBundle/Tests/Entity/IlmSessionFacetTest.php:     * @covers Ilios\CoreBundle\Entity\IlmSessionFacet::getLearners
./Ilios/CoreBundle/Tests/Entity/InstructorGroupTest.php:        $this->entityCollectionAddTest('ilmSession', 'IlmSessionFacet');
./Ilios/CoreBundle/Tests/Entity/InstructorGroupTest.php:        $this->entityCollectionSetTest('ilmSession', 'IlmSessionFacet');
./Ilios/CoreBundle/Tests/DataLoader/SessionData.php:            'ilmSessionFacet' => '1',
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php: * IlmSessionFacet controller Test.
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:class IlmSessionFacetControllerTest extends AbstractControllerTest
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testGetIlmSessionFacet()
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testGetAllIlmSessionFacets()
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testPostIlmSessionFacet()
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testPostBadIlmSessionFacet()
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:        $invalidIlmSessionFacet = $this->container
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:            json_encode(['ilmSession' => $invalidIlmSessionFacet])
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testPutIlmSessionFacet()
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testDeleteIlmSessionFacet()
./Ilios/CoreBundle/Tests/Controller/IlmSessionFacetControllerTest.php:    public function testIlmSessionFacetNotFound()
./Ilios/CoreBundle/Tests/DependencyInjection/IliosCoreExtensionTest.php:            'ilioscore.ilmsessionfacet.handler.class' => 'Ilios\CoreBundle\Handler\IlmSessionFacetHandler',
./Ilios/CoreBundle/Tests/DependencyInjection/IliosCoreExtensionTest.php:            'ilioscore.ilmsessionfacet.manager.class' => 'Ilios\CoreBundle\Entity\Manager\IlmSessionFacetManager',
./Ilios/CoreBundle/Tests/DependencyInjection/IliosCoreExtensionTest.php:            'ilioscore.ilmsessionfacet.handler',
./Ilios/CoreBundle/Tests/DependencyInjection/IliosCoreExtensionTest.php:            'ilioscore.ilmsessionfacet.manager',
./Ilios/CoreBundle/EventListener/UpdateSessionTimestamp.php:                case 'Ilios\CoreBundle\Entity\IlmSessionFacet':
./Ilios/CoreBundle/Controller/IlmSessionController.php:use Ilios\CoreBundle\Handler\IlmSessionFacetHandler;
./Ilios/CoreBundle/Controller/IlmSessionController.php:use Ilios\CoreBundle\Entity\IlmSessionFacetInterface;
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   output="Ilios\CoreBundle\Entity\IlmSessionFacet",
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   output="Ilios\CoreBundle\Entity\IlmSessionFacet",
./Ilios/CoreBundle/Controller/IlmSessionController.php:        $result = $this->getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:            ->findIlmSessionFacetsBy(
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   input="Ilios\CoreBundle\Form\Type\IlmSessionFacetType",
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   output="Ilios\CoreBundle\Entity\IlmSessionFacet",
./Ilios/CoreBundle/Controller/IlmSessionController.php:            $new  =  $this->getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   input="Ilios\CoreBundle\Form\Type\IlmSessionFacetType",
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   output="Ilios\CoreBundle\Entity\IlmSessionFacet",
./Ilios/CoreBundle/Controller/IlmSessionController.php:            $ilmSessionFacet = $this->getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:                ->findIlmSessionFacetBy(['id'=> $id]);
./Ilios/CoreBundle/Controller/IlmSessionController.php:            if ($ilmSessionFacet) {
./Ilios/CoreBundle/Controller/IlmSessionController.php:                $ilmSessionFacet = $this->getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:                    ->createIlmSessionFacet();
./Ilios/CoreBundle/Controller/IlmSessionController.php:                $this->getIlmSessionFacetHandler()->put(
./Ilios/CoreBundle/Controller/IlmSessionController.php:                    $ilmSessionFacet,
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   input="Ilios\CoreBundle\Form\Type\IlmSessionFacetType",
./Ilios/CoreBundle/Controller/IlmSessionController.php:     *   output="Ilios\CoreBundle\Entity\IlmSessionFacet",
./Ilios/CoreBundle/Controller/IlmSessionController.php:            $this->getIlmSessionFacetHandler()->patch(
./Ilios/CoreBundle/Controller/IlmSessionController.php:     * @internal IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Controller/IlmSessionController.php:        $ilmSessionFacet = $this->getOr404($id);
./Ilios/CoreBundle/Controller/IlmSessionController.php:            $this->getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:                ->deleteIlmSessionFacet($ilmSessionFacet);
./Ilios/CoreBundle/Controller/IlmSessionController.php:     * @return IlmSessionFacetInterface $ilmSessionFacet
./Ilios/CoreBundle/Controller/IlmSessionController.php:        $ilmSessionFacet = $this->getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:            ->findIlmSessionFacetBy(['id' => $id]);
./Ilios/CoreBundle/Controller/IlmSessionController.php:        if (!$ilmSessionFacet) {
./Ilios/CoreBundle/Controller/IlmSessionController.php:        return $ilmSessionFacet;
./Ilios/CoreBundle/Controller/IlmSessionController.php:     * @return IlmSessionFacetHandler
./Ilios/CoreBundle/Controller/IlmSessionController.php:    protected function getIlmSessionFacetHandler()
./Ilios/CoreBundle/Controller/IlmSessionController.php:        return $this->container->get('ilioscore.ilmsessionfacet.handler');
./Ilios/CoreBundle/Form/Type/SessionType.php:            ->add('ilmSessionFacet', 'tdn_single_related', [
./Ilios/CoreBundle/Form/Type/SessionType.php:                'entityName' => "IliosCoreBundle:IlmSessionFacet"
./Ilios/CoreBundle/Form/Type/IlmSessionFacetType.php:class IlmSessionFacetType extends AbstractType
./Ilios/CoreBundle/Form/Type/IlmSessionFacetType.php:            'data_class' => 'Ilios\CoreBundle\Entity\IlmSessionFacet'
./Ilios/CoreBundle/Form/Type/IlmSessionFacetType.php:        return 'ilmsessionfacet';
./Ilios/CoreBundle/Form/Type/UserType.php:                'entityName' => "IliosCoreBundle:IlmSessionFacet"
./Ilios/CoreBundle/Form/Type/UserType.php:                'entityName' => "IliosCoreBundle:IlmSessionFacet"
./Ilios/CoreBundle/Form/Type/InstructorGroupType.php:                'entityName' => "IliosCoreBundle:IlmSessionFacet"
./Ilios/CoreBundle/Form/Type/LearnerGroupType.php:                'entityName' => "IliosCoreBundle:IlmSessionFacet"
./Ilios/CoreBundle/Resources/config/managers.yml:    ilioscore.ilmsessionfacet.manager.class: Ilios\CoreBundle\Entity\Manager\IlmSessionFacetManager
./Ilios/CoreBundle/Resources/config/managers.yml:    ilioscore.ilmsessionfacet.manager:
./Ilios/CoreBundle/Resources/config/managers.yml:        class: %ilioscore.ilmsessionfacet.manager.class%
./Ilios/CoreBundle/Resources/config/managers.yml:        arguments: ['@doctrine', Ilios\CoreBundle\Entity\IlmSessionFacet]
./Ilios/CoreBundle/Resources/config/handlers.yml:    ilioscore.ilmsessionfacet.handler.class: Ilios\CoreBundle\Handler\IlmSessionFacetHandler
./Ilios/CoreBundle/Resources/config/handlers.yml:    ilioscore.ilmsessionfacet.handler:
./Ilios/CoreBundle/Resources/config/handlers.yml:        class: %ilioscore.ilmsessionfacet.handler.class%
./Ilios/CoreBundle/Resources/config/handlers.yml:        arguments: ['@doctrine', Ilios\CoreBundle\Entity\IlmSessionFacet, '@form.factory']

@stopfstedt
Copy link
Member

@jrjohnson - should this entail schema changes as well?

@jrjohnson
Copy link
Member Author

Not right now. The table name is technically correct, its just hard to use in practice. So only the urls really need to change. But I think that gets confusing so all of the classes should change to match.

@stopfstedt
Copy link
Member

post-cleanup:

stefan@herrfuchs: ~/dev/projects/ilios/src on 858_mv_ilmsessionfacet_ilmsession
$ grep -ir 'facet' .
./Ilios/CoreBundle/Entity/Session.php: *     @ORM\Index(name="session_ibfk_3", columns={"ilm_session_facet_id"})
./Ilios/CoreBundle/Entity/Session.php:     *   @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", nullable=true)
./Ilios/CoreBundle/Entity/IlmSession.php: * @ORM\Table(name="ilm_session_facet")
./Ilios/CoreBundle/Entity/IlmSession.php:     * @ORM\Column(name="ilm_session_facet_id", type="integer")
./Ilios/CoreBundle/Entity/IlmSession.php:     * @ORM\JoinTable(name="ilm_session_facet_x_group",
./Ilios/CoreBundle/Entity/IlmSession.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSession.php:     * @ORM\JoinTable(name="ilm_session_facet_x_instructor_group",
./Ilios/CoreBundle/Entity/IlmSession.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSession.php:     * @ORM\JoinTable(name="ilm_session_facet_x_instructor",
./Ilios/CoreBundle/Entity/IlmSession.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")
./Ilios/CoreBundle/Entity/IlmSession.php:     * @ORM\JoinTable(name="ilm_session_facet_x_learner",
./Ilios/CoreBundle/Entity/IlmSession.php:     *     @ORM\JoinColumn(name="ilm_session_facet_id", referencedColumnName="ilm_session_facet_id", onDelete="CASCADE")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants