File "SecurityServiceProvider.php"

Full path: C:/Inetpub/vhosts/drshti.com/httpdocs/wp-content/plugins/depicter/app/src/Security/SecurityServiceProvider.php
File size: 436 B (436 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php
namespace Depicter\Security;

use WPEmerge\ServiceProviders\ServiceProviderInterface;

class SecurityServiceProvider implements ServiceProviderInterface {

	/**
	 * {@inheritDoc}
	 */
	public function register( $container ) {

		$container[ CSRF::class ] = function ( $c ) {
			return new CSRF( 'depicter-csrf', 2 );
		};
	}

	/**
	 * {@inheritDoc}
	 */
	public function bootstrap( $container ) {
		// Nothing to bootstrap.
	}

}