文件名称:dms-filter的php过滤库.zip
文件大小:61KB
文件格式:ZIP
更新时间:2022-07-31 04:51:57
类库下载-dms-filter的php过滤库
<?php namespace DMS\Filter; /** * Filter Object, responsible for retrieving the filtering rules * for the object and applying them * * @package DMS * @subpackage Filter * */ use DMS\Filter\Filters\Loader\FilterLoaderInterface; /** * Class Filter * * Executor, receives objects that need filtering and executes attached rules. * * @package DMS\Filter */ class Filter implements FilterInterface { /** * * @var Mapping\ClassMetadataFactory */ protected $metadataFactory; /** * @var FilterLoaderInterface */ protected $filterLoader; /** * Constructor * * @param Mapping\ClassMetadataFactory $metadataFactory * @param FilterLoaderInterface $filterLoader */ public function __construct(Mapping\ClassMetadataFactory $metadataFactory, $filterLoader) { $this->metadataFactory = $metadataFactory; $this->filterLoader = $filterLoader; }在PHP中,有些很有用的函数开源非常方便的防止你的网站遭受各种攻击,例如SQL注入攻击,XSS(Cross Site Scripting:跨站脚本)攻击等。dms-filter的php过滤库就是一个防止别人恶意攻击你的过滤库,有需要的朋友可以下载使用。
【文件预览】:
dms-filter的php过滤库
----src()
--------DMS()
----php中文网下载站.url(114B)
----.travis.yml(871B)
----LICENSE(1KB)
----composer.lock(25KB)
----phpunit.xml(839B)
----README.md(3KB)
----php中文网免费下载站.txt(219B)
----tests()
--------DMS()
----.gitignore(21B)
----CHANGELOG.md(479B)
----composer.json(958B)