Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

take64/CitrusIntersection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CitrusIntersection

php switch library

USAGE

$value = 'admin';
$result = Intersection::fetch($value, [
    'user' => function () {
        return 'John';
    },
    'admin' => function () {
        return 'Alice';
    },
], true);

// $result: 'Alice'