\Ceo\Core\AdaptersAdapter

Base adapter class

Summary

Methods
Properties
Constants
adapterFor()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
registerAdapters()
$adapters
N/A

Properties

$adapters

$adapters : 

Type

Methods

adapterFor()

adapterFor(array  $file, string  $path) : mixed

Locate the first adapter that's able to handle a file.

Each adapter determines its ability to handle a particular file

Parameters

array $file

JSON file information

string $path

Temp file path

Returns

mixed —

Adapter instance if found, false otherwise

registerAdapters()

registerAdapters() : boolean

Register all adapters

Returns

boolean