PHP code example of fond-of-spryker / availability-alert-data-import

1. Go to this page and download the library: Download fond-of-spryker/availability-alert-data-import library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

fond-of-spryker / availability-alert-data-import example snippets


 /**
     * @return array
     */
    protected function getDataImporterPlugins(): array
    {
        return [
            [new AvailabilityAlertDataImportPlugin(), DataImportConfig::IMPORT_TYPE_AVAILABILITY_ALERT]
            ........
        ];
    }