23 lines
481 B
PHP
23 lines
481 B
PHP
<?php
|
|
|
|
namespace FluentMail\Includes\Support\Contracts;
|
|
|
|
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);
|
|
}
|