public function createPushPackageForUser($userId)
    {
        $packageDir = sprintf('/%s/pushPackage%s.%s', sys_get_temp_dir(), time(), $userId);
        $package = $this->createPackage($packageDir, $userId);

        $this->generatePackage($package);

        return $package;
    }
public function createPushPackageForUser($userId)
    {
        $packageDir = sprintf('/%s/pushPackage%s.%s', sys_get_temp_dir(), time(), $userId);
        $package = $this->createPackage($packageDir, $userId);

        $this->generatePackage($package);

        return $package;
    }
public function createPushPackageForUser ( $ userId ) { $ packageDir = sprintf ( '/%s/pushPackage%s.%s' , sys_get_temp_dir ( ) , time ( ) , $ userId ) ; $ package = $ this -> createPackage ( $ packageDir , $ userId ) ; $ this -> generatePackage ( $ package ) ; return $ package ; }
Create a safari website push notification package for the given User.

@param string $userId User id to create package for.
@return \JWage\APNS\Safari\Package $package Package instance.
Create a safari website push notification package for the given User .