add wp-rocket
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Rocket\Engine\Container\Definition;
|
||||
|
||||
interface DefinitionInterface
|
||||
{
|
||||
/**
|
||||
* Handle instantiation and manipulation of value and return.
|
||||
*
|
||||
* @param array $args
|
||||
* @return mixed
|
||||
*/
|
||||
public function build(array $args = []);
|
||||
|
||||
/**
|
||||
* Add an argument to be injected.
|
||||
*
|
||||
* @param mixed $arg
|
||||
* @return $this
|
||||
*/
|
||||
public function withArgument($arg);
|
||||
|
||||
/**
|
||||
* Add multiple arguments to be injected.
|
||||
*
|
||||
* @param array $args
|
||||
* @return $this
|
||||
*/
|
||||
public function withArguments(array $args);
|
||||
}
|
Reference in New Issue
Block a user