PHP Classes

File: src/Contract/FilterContainerInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Ionizer PHP Filter Input   src/Contract/FilterContainerInterface.php   Download  
File: src/Contract/FilterContainerInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Ionizer PHP Filter Input
Filter input values by chaining filter objects
Author: By
Last change:
Date: 2 years ago
Size: 517 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\Ionizer\Contract;

/**
 * Interface FilterContainerInterface
 * @package ParagonIE\Ionizer\Contract
 */
interface FilterContainerInterface
{
   
/**
     * @param string $path
     * @param FilterInterface $filter
     * @return self
     */
   
public function addFilter(string $path, FilterInterface $filter): self;

   
/**
     * @param string $path
     * @return array<array-key, FilterInterface>
     */
   
public function getFiltersForPath(string $path);
}