Nette\Database\Context::getConventions PHP Method

getConventions() public method

public getConventions ( ) : Nette\Database\IConventions
return Nette\Database\IConventions
    public function getConventions()
    {
        return $this->conventions;
    }

Usage Example

Example #1
0
 public function __construct($tableName, Context $context)
 {
     $this->tableName = $tableName;
     $this->driver = $context->getConnection()->getSupplementalDriver();
     $this->conventions = $context->getConventions();
     $this->structure = $context->getStructure();
     $this->delimitedTable = implode('.', array_map([$this->driver, 'delimite'], explode('.', $tableName)));
 }
All Usage Examples Of Nette\Database\Context::getConventions