concrete/src/Attribute/Key/Key.php
public function load($akID)
    {
        $em = $this->getFacadeApplication()->make('Doctrine\ORM\EntityManager');
        $this->legacyAttributeKey = $em->find('Concrete\Core\Entity\Attribute\Key\LegacyKey', $akID);
    }
public function load($akID)
    {
        $em = $this->getFacadeApplication()->make('Doctrine\ORM\EntityManager');
        $this->legacyAttributeKey = $em->find('Concrete\Core\Entity\Attribute\Key\LegacyKey', $akID);
    }
public function load ( $ akID ) { $ em = $ this -> getFacadeApplication ( ) -> make ( 'Doctrine\ORM\EntityManager' ) ; $ this -> legacyAttributeKey = $ em -> find ( 'Concrete\Core\Entity\Attribute\Key\LegacyKey' , $ akID ) ; }
In 5.7 and earlier, if a subclassed Key object called load, it was loading the
core data of an attribute key. we're going to load that data into an internal
legacy key object that we can keep around to pass calls to for attribute keys that
incorrectly subclass this Key object.
@deprecated
In 5 . 7 and earlier if a subclassed Key object called load it was loading the core data of an attribute key . we re going to load that data into an internal legacy key object that we can keep around to pass calls to for attribute keys that incorrectly subclass this Key object .