/** * Initializes the stream wrapper to load recipes within the Accompli package. */ public function initializeStreamWrapper() { $stream = new Stream('accompli', array('recipe' => realpath(__DIR__ . '/Resources/recipe')), false); StreamManager::create()->registerStream($stream); }
/** * Constructs a new StreamWrapper instance. */ public function __construct() { $this->streamManager = StreamManager::create(); }