src/Rivescript.php
public function load($files)
    {
        $files = (! is_array($files)) ? (array) $files : $files;

        foreach ($files as $file) {
            synapse()->brain->teach($file);
        }
    }
public function load($files)
    {
        $files = (! is_array($files)) ? (array) $files : $files;

        foreach ($files as $file) {
            synapse()->brain->teach($file);
        }
    }
public function load ( $ files ) { $ files = ( ! is_array ( $ files ) ) ? ( array ) $ files : $ files ; foreach ( $ files as $ file ) { synapse ( ) -> brain -> teach ( $ file ) ; } }
Load RiveScript documents from files.

@param array|string $files
Load RiveScript documents from files .