mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
DataboxesController Refactor, CS fixup
This commit is contained in:
@@ -516,6 +516,13 @@ class databox extends base
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Application $app
|
||||
* @param Connection $connection
|
||||
* @param SplFileInfo $data_template
|
||||
* @return databox
|
||||
* @throws \Doctrine\DBAL\DBALException
|
||||
*/
|
||||
public static function create(Application $app, Connection $connection, \SplFileInfo $data_template)
|
||||
{
|
||||
if ( ! file_exists($data_template->getRealPath())) {
|
||||
|
Reference in New Issue
Block a user