public function initilize($options) { if (isset($options['source'])) { $this->source = $options['source']; return $this->handler = fopen($this->source, RaspArray::index($options, 'mode', 'r')); } else { return false; } }