PHP code example of bigdropinc / yii2-find-by-attribute

1. Go to this page and download the library: Download bigdropinc/yii2-find-by-attribute library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bigdropinc / yii2-find-by-attribute example snippets


use bigdropinc\db\FindByAttribute

public static function __callStatic($name, $arguments)
    {
        if(static::isFindByCanProcess($name)){
            return static::processFindBy($name, $arguments);
        }
    }