File "ContextualBindingBuilderContract.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/ContextualBindingBuilderContract.php
File size: 475 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace FluentForm\Framework\Foundation;

interface ContextualBindingBuilderContract
{
    /**
     * Define the abstract target that depends on the context.
     *
     * @param  string  $abstract
     * @return $this
     */
    public function needs($abstract);
    
    /**
     * Define the implementation for the contextual binding.
     *
     * @param  Closure|string  $implementation
     * @return void
     */
    public function give($implementation);
}