PHP 8.2.30
Preview: exportable.php Size: 938 B
/opt/cloudlinux/alt-php53/root/usr/share/pear/ezc/Base/interfaces/exportable.php

<?php
/**
 * File containing the ezcBaseExportable interface.
 *
 * @package Base
 * @version 1.8
 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
 * @license http://ez.no/licenses/new_bsd New BSD License
 */
/**
 * Interface for class of which instances can be exported using var_export().
 *
 * In some components, objects can be stored (e.g. to disc) using the var_export() 
 * function. To ensure that an object supports proper importing again, this 
 * interface should be implemented.
 *
 * @see var_export()
 */
interface ezcBaseExportable
{
    /**
     * Returns an instance of the desired object, initialized from $state.
     *
     * This method must return a new instance of the class it is implemented 
     * in, which has its properties set from the given $state array.
     *
     * @param array $state 
     * @return object
     */
    public static function __set_state( array $state );
}

?>

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
902 B lrw-r--r-- 2019-12-18 11:15:09
Edit Download
938 B lrw-r--r-- 2019-12-18 11:15:09
Edit Download
1014 B lrw-r--r-- 2019-12-18 11:15:09
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).