Skip to content

Commit

Permalink
Added Empty featureset
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostico committed Mar 2, 2022
1 parent 206dcfd commit fdec61b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Commons/EmptyFeatureSet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
/**
* Created by PhpStorm.
* @author ostico [email protected] / [email protected]
* Date: 02/03/22
* Time: 18:39
*
*/

namespace Matecat\SubFiltering\Commons;

use Matecat\SubFiltering\Contracts\FeatureSetInterface;

class EmptyFeatureSet implements FeatureSetInterface {

/**
* @inheritDoc
*/
public function filter( $method, $filterable ) {
return $filterable;
}
}

0 comments on commit fdec61b

Please sign in to comment.