concrete/src/Package/Package.php
public function upgradeCoreData()
    {
        $entity = $this->getPackageEntity();
        if ($entity !== null) {
            $em = $this->app->make(EntityManagerInterface::class);
            $entity->setPackageName($this->getPackageName());
            $entity->setPackageDescription($this->getPackageDescription());
            $entity->setPackageVersion($this->getPackageVersion());
            $em->persist($entity);
            $em->flush();
        }
    }
public function upgradeCoreData()
    {
        $entity = $this->getPackageEntity();
        if ($entity !== null) {
            $em = $this->app->make(EntityManagerInterface::class);
            $entity->setPackageName($this->getPackageName());
            $entity->setPackageDescription($this->getPackageDescription());
            $entity->setPackageVersion($this->getPackageVersion());
            $em->persist($entity);
            $em->flush();
        }
    }
public function upgradeCoreData ( ) { $ entity = $ this -> getPackageEntity ( ) ; if ( $ entity !== null ) { $ em = $ this -> app -> make ( EntityManagerInterface :: class ) ; $ entity -> setPackageName ( $ this -> getPackageName ( ) ) ; $ entity -> setPackageDescription ( $ this -> getPackageDescription ( ) ) ; $ entity -> setPackageVersion ( $ this -> getPackageVersion ( ) ) ; $ em -> persist ( $ entity ) ; $ em -> flush ( ) ; } }
Updates the package entity name, description and version using the current class properties.
Updates the package entity name description and version using the current class properties .