Redaxscript\Registry::init PHP Method

init() public method

init the class
Since: 2.1.0
public init ( array $registryArray = [] )
$registryArray array array of the registry
    public function init($registryArray = [])
    {
        if (is_array($registryArray)) {
            self::$_registryArray = array_merge(self::$_registryArray, $registryArray);
        }
    }