Copied!
Cloneable Instantiable
Methods
public __construct ( array $parameters = [ ] )
public PHPFUI\MySQLSlowQuery\BaseObject :: __get ( string $field )
 

Allows for $object->field syntax

public PHPFUI\MySQLSlowQuery\BaseObject :: __set ( string $field , $value )
 

Allows for $object->field = $x syntax

  • return mixed returns $value so you can string together assignments
public PHPFUI\MySQLSlowQuery\BaseObject :: asArray () : array
public setFromLine ( string $line ) : self
 

Parse a line from the log file into fields (label before :)
Additional fields can easily be added if they follow the same format.

Just add an entry to the fields table a above to support a new field.

Properties
protected PHPFUI\MySQLSlowQuery\BaseObject :: $fields
© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration