PHP Interface Phrozn\Registry\Dao

It is planned to rely on YAML files for storage, but that can be easily amended by implementing more DAOs
Author: Victor Farazdagi
Inheritance: extends Phrozn\Registry\Has\Container, extends Phrozn\Has\OutputFile, extends Phrozn\Has\ProjectPath
Mostra file Open project: farazdagi/phrozn Interface Usage Examples

Public Methods

Method Description
__construct ( Container $container = null ) : void Initialize DAO object
read ( ) : Container Read registry data into container.
save ( ) : Phorzn\Registry\Dao Save current registry container

Method Details

__construct() public method

Initialize DAO object
public __construct ( Container $container = null ) : void
$container Container Registry container
return void

read() public method

Read registry data into container.
public read ( ) : Container
return Container

save() public method

Save current registry container
public save ( ) : Phorzn\Registry\Dao
return Phorzn\Registry\Dao