src/CoreManager.php
public static function getSubscribedEvents()
    {
        return array(
            InstallerEvents::POST_DEPENDENCIES_SOLVING => array(
                array('checkCoreDependencies', 0)
            ),
            PackageEvents::POST_PACKAGE_INSTALL => array(
                array('installCore', 0)
            ),
            PackageEvents::PRE_PACKAGE_UPDATE => array(
                array('uninstallCore', 0)
            ),
            PackageEvents::POST_PACKAGE_UPDATE => array(
                array('installCore', 0)
            ),
            PackageEvents::PRE_PACKAGE_UNINSTALL => array(
                array('uninstallCore', 0)
            ),
        );
    }
public static function getSubscribedEvents()
    {
        return array(
            InstallerEvents::POST_DEPENDENCIES_SOLVING => array(
                array('checkCoreDependencies', 0)
            ),
            PackageEvents::POST_PACKAGE_INSTALL => array(
                array('installCore', 0)
            ),
            PackageEvents::PRE_PACKAGE_UPDATE => array(
                array('uninstallCore', 0)
            ),
            PackageEvents::POST_PACKAGE_UPDATE => array(
                array('installCore', 0)
            ),
            PackageEvents::PRE_PACKAGE_UNINSTALL => array(
                array('uninstallCore', 0)
            ),
        );
    }
public static function getSubscribedEvents ( ) { return array ( InstallerEvents :: POST_DEPENDENCIES_SOLVING => array ( array ( 'checkCoreDependencies' , 0 ) ) , PackageEvents :: POST_PACKAGE_INSTALL => array ( array ( 'installCore' , 0 ) ) , PackageEvents :: PRE_PACKAGE_UPDATE => array ( array ( 'uninstallCore' , 0 ) ) , PackageEvents :: POST_PACKAGE_UPDATE => array ( array ( 'installCore' , 0 ) ) , PackageEvents :: PRE_PACKAGE_UNINSTALL => array ( array ( 'uninstallCore' , 0 ) ) , ) ; }
Tell event dispatcher what events we want to subscribe to
@return array
Tell event dispatcher what events we want to subscribe to