\seekquarry\yioop\libraryLibrary

A class used to ensure can autoload non utility and locale function when using Yioop as a composer library. Also let's one set the debug level

Summary

Methods
Properties
Constants
init()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

init()

init(boolean  $debugging = false, boolean  $fake_profile = true) 

Requires non-class defined functions that belong to the Yioop library which might not otherwise be autoloaded. For use when Yioop is being used as a composer library

Parameters

boolean $debugging

whether to turn on php error reporting

boolean $fake_profile

since when used with composer typically the composer's copy of the work directory and profile is not set up. This flag is used to force Yioop to pretend the work directory is set up, so that it doesn't through errors when using the library.