Completed
Branch fix/events-archive-config-rese... (0ef832)
by
unknown
12:05 queued 09:36
created
core/services/collections/iterators/FilterIteratorsHelper.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -17,18 +17,18 @@
 block discarded – undo
17 17
 {
18 18
 
19 19
 
20
-    /**
21
-     * Uses CollectionFilterCallbackIterator on a provided collection with provided Closure for filtering each object
22
-     * in the collection.
23
-     * The closure receives an instance of the object and should return false if it is not "valid" and true if it is.
24
-     *
25
-     * @param Collection $collection
26
-     * @param Closure    $acceptance_callback
27
-     * @return array
28
-     */
29
-    public static function getFilteredObjectsFromCollection(Collection $collection, Closure $acceptance_callback)
30
-    {
31
-        $collection_filter_iterator = new CollectionFilterCallbackIterator($collection, $acceptance_callback);
32
-        return $collection_filter_iterator->getFiltered();
33
-    }
20
+	/**
21
+	 * Uses CollectionFilterCallbackIterator on a provided collection with provided Closure for filtering each object
22
+	 * in the collection.
23
+	 * The closure receives an instance of the object and should return false if it is not "valid" and true if it is.
24
+	 *
25
+	 * @param Collection $collection
26
+	 * @param Closure    $acceptance_callback
27
+	 * @return array
28
+	 */
29
+	public static function getFilteredObjectsFromCollection(Collection $collection, Closure $acceptance_callback)
30
+	{
31
+		$collection_filter_iterator = new CollectionFilterCallbackIterator($collection, $acceptance_callback);
32
+		return $collection_filter_iterator->getFiltered();
33
+	}
34 34
 }
Please login to merge, or discard this patch.
core/services/collections/CollectionDetailsInterface.php 1 patch
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -11,45 +11,45 @@
 block discarded – undo
11 11
 interface CollectionDetailsInterface
12 12
 {
13 13
 
14
-    /**
15
-     * @access public
16
-     * @return string
17
-     */
18
-    public function getCollectionInterface();
19
-
20
-    /**
21
-     * @access public
22
-     * @return string
23
-     */
24
-    public function collectionName();
25
-
26
-    /**
27
-     * @access public
28
-     * @return string
29
-     */
30
-    public function identifierType();
31
-
32
-    /**
33
-     * @access public
34
-     * @return string
35
-     */
36
-    public function identifierCallback();
37
-
38
-    /**
39
-     * @access public
40
-     * @return string
41
-     */
42
-    public function getFileMask();
43
-
44
-    /**
45
-     * @access public
46
-     * @return array
47
-     */
48
-    public function getCollectionFQCNs();
49
-
50
-    /**
51
-     * @access public
52
-     * @return array
53
-     */
54
-    public function getCollectionPaths();
14
+	/**
15
+	 * @access public
16
+	 * @return string
17
+	 */
18
+	public function getCollectionInterface();
19
+
20
+	/**
21
+	 * @access public
22
+	 * @return string
23
+	 */
24
+	public function collectionName();
25
+
26
+	/**
27
+	 * @access public
28
+	 * @return string
29
+	 */
30
+	public function identifierType();
31
+
32
+	/**
33
+	 * @access public
34
+	 * @return string
35
+	 */
36
+	public function identifierCallback();
37
+
38
+	/**
39
+	 * @access public
40
+	 * @return string
41
+	 */
42
+	public function getFileMask();
43
+
44
+	/**
45
+	 * @access public
46
+	 * @return array
47
+	 */
48
+	public function getCollectionFQCNs();
49
+
50
+	/**
51
+	 * @access public
52
+	 * @return array
53
+	 */
54
+	public function getCollectionPaths();
55 55
 }
Please login to merge, or discard this patch.
core/services/request/RequestStackCoreAppInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
 interface RequestStackCoreAppInterface
13 13
 {
14 14
 
15
-    /**
16
-     * gives the core app a chance to handle the response after the request stack has fully processed
17
-     *
18
-     * @param RequestInterface $request
19
-     * @param ResponseInterface      $response
20
-     */
21
-    public function handleResponse(RequestInterface $request, ResponseInterface $response);
15
+	/**
16
+	 * gives the core app a chance to handle the response after the request stack has fully processed
17
+	 *
18
+	 * @param RequestInterface $request
19
+	 * @param ResponseInterface      $response
20
+	 */
21
+	public function handleResponse(RequestInterface $request, ResponseInterface $response);
22 22
 }
Please login to merge, or discard this patch.
core/services/request/RequestDecoratorInterface.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -12,21 +12,21 @@
 block discarded – undo
12 12
 interface RequestDecoratorInterface
13 13
 {
14 14
 
15
-    /**
16
-     * converts a Request to a Response
17
-     * can perform their logic either before or after the core application has run like so:
18
-     *    public function handle_request( EE_Request $request, EE_Response $response ) {
19
-     *        $this->request = $request;
20
-     *        $this->response = $response;
21
-     *      // logic performed BEFORE core app has run
22
-     *      $this->process_request_stack( $this->request, $this->response );
23
-     *      // logic performed AFTER core app has run
24
-     *      return $response;
25
-     *    }
26
-     *
27
-     * @param RequestInterface $request
28
-     * @param ResponseInterface      $response
29
-     * @return ResponseInterface
30
-     */
31
-    public function handleRequest(RequestInterface $request, ResponseInterface $response);
15
+	/**
16
+	 * converts a Request to a Response
17
+	 * can perform their logic either before or after the core application has run like so:
18
+	 *    public function handle_request( EE_Request $request, EE_Response $response ) {
19
+	 *        $this->request = $request;
20
+	 *        $this->response = $response;
21
+	 *      // logic performed BEFORE core app has run
22
+	 *      $this->process_request_stack( $this->request, $this->response );
23
+	 *      // logic performed AFTER core app has run
24
+	 *      return $response;
25
+	 *    }
26
+	 *
27
+	 * @param RequestInterface $request
28
+	 * @param ResponseInterface      $response
29
+	 * @return ResponseInterface
30
+	 */
31
+	public function handleRequest(RequestInterface $request, ResponseInterface $response);
32 32
 }
Please login to merge, or discard this patch.
core/services/commands/CommandRequiresCapCheckInterface.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 interface CommandRequiresCapCheckInterface
12 12
 {
13 13
 
14
-    /**
15
-     * @return \EventEspresso\core\domain\services\capabilities\CapCheck
16
-     */
17
-    public function getCapCheck();
14
+	/**
15
+	 * @return \EventEspresso\core\domain\services\capabilities\CapCheck
16
+	 */
17
+	public function getCapCheck();
18 18
 }
Please login to merge, or discard this patch.
core/services/commands/CommandFactoryInterface.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,13 +9,13 @@
 block discarded – undo
9 9
 interface CommandFactoryInterface
10 10
 {
11 11
 
12
-    /**
13
-     * @param string $command_fqcn
14
-     * @param array  $arguments
15
-     * @return mixed
16
-     * @throws InvalidArgumentException
17
-     * @throws InvalidDataTypeException
18
-     * @throws InvalidInterfaceException
19
-     */
20
-    public function getNew($command_fqcn, $arguments = array());
12
+	/**
13
+	 * @param string $command_fqcn
14
+	 * @param array  $arguments
15
+	 * @return mixed
16
+	 * @throws InvalidArgumentException
17
+	 * @throws InvalidDataTypeException
18
+	 * @throws InvalidInterfaceException
19
+	 */
20
+	public function getNew($command_fqcn, $arguments = array());
21 21
 }
Please login to merge, or discard this patch.
core/services/commands/CommandBusInterface.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 interface CommandBusInterface
10 10
 {
11 11
 
12
-    /**
13
-     * @return CommandHandlerManagerInterface
14
-     */
15
-    public function getCommandHandlerManager();
12
+	/**
13
+	 * @return CommandHandlerManagerInterface
14
+	 */
15
+	public function getCommandHandlerManager();
16 16
 
17
-    /**
18
-     * @param \EventEspresso\core\services\commands\CommandInterface $command
19
-     * @return mixed
20
-     */
21
-    public function execute($command);
17
+	/**
18
+	 * @param \EventEspresso\core\services\commands\CommandInterface $command
19
+	 * @return mixed
20
+	 */
21
+	public function execute($command);
22 22
 }
Please login to merge, or discard this patch.
core/services/commands/middleware/CommandBusMiddlewareInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 interface CommandBusMiddlewareInterface
13 13
 {
14 14
 
15
-    /**
16
-     * @param CommandInterface $command
17
-     * @param Closure         $next
18
-     * @return mixed
19
-     */
20
-    public function handle(CommandInterface $command, Closure $next);
15
+	/**
16
+	 * @param CommandInterface $command
17
+	 * @param Closure         $next
18
+	 * @return mixed
19
+	 */
20
+	public function handle(CommandInterface $command, Closure $next);
21 21
 }
Please login to merge, or discard this patch.
core/services/cache/CacheManagerInterface.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -14,41 +14,41 @@
 block discarded – undo
14 14
 interface CacheManagerInterface
15 15
 {
16 16
 
17
-    /**
18
-     * returns a string that will be prepended to all cache identifiers
19
-     *
20
-     * @return string
21
-     */
22
-    public function cachePrefix();
23
-
24
-
25
-
26
-    /**
27
-     * @param string  $id_prefix [required] Prepended to all cache IDs. Can be helpful in finding specific cache types.
28
-     *                           May also be helpful to include an additional specific identifier,
29
-     *                           such as a post ID as part of the $id_prefix so that individual caches
30
-     *                           can be found and/or cleared. ex: "venue-28", or "shortcode-156".
31
-     *                           BasicCacheManager::CACHE_PREFIX will also be prepended to the cache id.
32
-     * @param string  $cache_id  [required] Additional identifying details that make this cache unique.
33
-     *                           It is advisable to use some of the actual data
34
-     *                           that is used to generate the content being cached,
35
-     *                           in order to guarantee that the cache id is unique for that content.
36
-     *                           The cache id will be md5'd before usage to make it more db friendly,
37
-     *                           and the entire cache id string will be truncated to 190 characters.
38
-     * @param Closure $callback  [required] since the point of caching is to avoid generating content when not
39
-     *                           necessary,
40
-     *                           we wrap our content creation in a Closure so that it is not executed until needed.
41
-     * @param int     $expiration
42
-     * @return Closure|mixed
43
-     */
44
-    public function get($id_prefix, $cache_id, Closure $callback, $expiration = HOUR_IN_SECONDS);
45
-
46
-
47
-
48
-    /**
49
-     * @param array|string $cache_id [required] Could be an ID prefix affecting many caches
50
-     *                               or a specific ID targeting a single cache item
51
-     * @return void
52
-     */
53
-    public function clear($cache_id);
17
+	/**
18
+	 * returns a string that will be prepended to all cache identifiers
19
+	 *
20
+	 * @return string
21
+	 */
22
+	public function cachePrefix();
23
+
24
+
25
+
26
+	/**
27
+	 * @param string  $id_prefix [required] Prepended to all cache IDs. Can be helpful in finding specific cache types.
28
+	 *                           May also be helpful to include an additional specific identifier,
29
+	 *                           such as a post ID as part of the $id_prefix so that individual caches
30
+	 *                           can be found and/or cleared. ex: "venue-28", or "shortcode-156".
31
+	 *                           BasicCacheManager::CACHE_PREFIX will also be prepended to the cache id.
32
+	 * @param string  $cache_id  [required] Additional identifying details that make this cache unique.
33
+	 *                           It is advisable to use some of the actual data
34
+	 *                           that is used to generate the content being cached,
35
+	 *                           in order to guarantee that the cache id is unique for that content.
36
+	 *                           The cache id will be md5'd before usage to make it more db friendly,
37
+	 *                           and the entire cache id string will be truncated to 190 characters.
38
+	 * @param Closure $callback  [required] since the point of caching is to avoid generating content when not
39
+	 *                           necessary,
40
+	 *                           we wrap our content creation in a Closure so that it is not executed until needed.
41
+	 * @param int     $expiration
42
+	 * @return Closure|mixed
43
+	 */
44
+	public function get($id_prefix, $cache_id, Closure $callback, $expiration = HOUR_IN_SECONDS);
45
+
46
+
47
+
48
+	/**
49
+	 * @param array|string $cache_id [required] Could be an ID prefix affecting many caches
50
+	 *                               or a specific ID targeting a single cache item
51
+	 * @return void
52
+	 */
53
+	public function clear($cache_id);
54 54
 }
Please login to merge, or discard this patch.