Initializing.

@param \StdClass $demuxing

@return void
769683
protected function initialize(\StdClass $demuxing)
	{
		$defaultFormat = FrameFormat::class;
		
		foreach ($demuxing->streams as $stream)
		{
			if (isset($stream['type']) && strtolower($stream['type']) == 'audio')
			{
				$defaultFormat = VideoFormat::class;
			}
		}
		
		/** @var FrameFormatInterface $format */
		$format = $this->findFormatClass($demuxing->format['format'], $defaultFormat);
		
		if ( ! is_subclass_of($format, FrameFormatInterface::class))
		{
			throw new TranscoderException(sprintf('This format unsupported in the "%s" wrapper.', __CLASS__));
		}
		
		$streams =  new Collection();
		
		foreach ($demuxing->streams as $number => $stream)
		{
			if (isset($stream['type']) && strtolower($stream['type']) == 'video')
			{
				$streams[$number] = is_subclass_of($format, VideoFormatInterface::class)
					? VideoStream::create($this, $stream) : FrameStream::create($this, $stream);
			}
		}
		
		$this->setStreams($streams);
		
		if ($stream = $this->getStreams(self::STREAM_FRAME | self::STREAM_VIDEO)->getFirst())
		{
			foreach ($stream->toArray() as $key => $value)
			{
				if ($key != 'metadata')
				{
					$demuxing->format[$key] = $value;
				}
				
				if ($key == 'codec')
				{
					$demuxing->format['video_codec'] = $value;
				}
			}
		}
		
		if (isset($demuxing->format['codecs']) && is_array($demuxing->format['codecs']))
		{
			$demuxing->format['available_video_codecs'] = array_keys(array_filter($demuxing->format['codecs'], function ($mask) {
				return $mask & 2;
			}));
		}
		
		$this->setFormat($format::fromArray(array_filter($demuxing->format, function ($value) {
			return $value !== null;
		})));
		
		if ($this->getFormat() instanceof VideoFormatInterface)
		{
			$this->addFilter(new SimpleFilter([
				'frames:v'   => 1,
				'seek_start' => 0,
			]), 0);
		}
	}
830990
public function init()
    {
        if (
            !$this->serviceContainer->isRegistered(ServiceContainer::SERVICE_LOGGER)
            || !($this->getLogger() instanceof LoggerInterface)
        ) {
            $this->setService(ServiceContainer::SERVICE_LOGGER, new NullLogger());
        }
        $this->getControllerDispatcher()->setLogger($this->getLogger());
    }
1083079
protected function initialize()
    {
        $this->data = new stdClass();
        $this->data->method = self::METHOD_CREDIT_CARD;
        $this->data->creditCard = new stdClass();
        $this->data->creditCard->holder = new stdClass();
        $this->data->creditCard->holder->taxDocument = new stdClass();
        $this->data->creditCard->holder->phone = new stdClass();
    }
982631
public function init()
    {
        if (!is_string($this->queryClass)) {
            $this->queryClass = BaseRedisBlameableQuery::class;
        }
        if ($this->skipInit) {
            return;
        }
        $this->initBlameableEvents();
        parent::init();
    }
904116
protected function initialize(\StdClass $demuxing)
	{
		/** @var SubtitleFormatInterface $format */
		$format = $this->findFormatClass($demuxing->format['format'], SubtitleFormat::class);
		
		if ( ! is_subclass_of($format, SubtitleFormatInterface::class))
		{
			throw new TranscoderException(sprintf('This format unsupported in the "%s" wrapper.', __CLASS__));
		}
		
		$streams =  new Collection();
		
		foreach ($demuxing->streams as $number => $stream)
		{
			if (isset($stream['type']) && strtolower($stream['type']) == 'subtitle')
			{
				$streams[$number] = SubtitleStream::create($this, $stream);
			}
		}
		
		$this->setStreams($streams);
		
		$this->setFormat($format::fromArray(array_filter($demuxing->format, function ($value) {
			return $value !== null;
		})));
	}
571090
public function init($request)
    {
        $oGenerator = oxNew(\OxidEsales\Eshop\Core\DbMetaDataHandler::class);
        $oGenerator->updateViews();
    }
683787
public function initialize()
    {
        if ($this->all()->count() < 1) {
            return;
        }

        $this->all()->each(function (ActionInterface $action) {
            $action->initialize();
        });

        $this->setHtmlAttribute('data-type', 'display-actions');

        if (! $this->hasHtmlAttribute('class')) {
            $this->setHtmlAttribute('class', 'panel-footer');
        }
    }
763427
public function init()
    {
        parent::init();

        if ($this->tile !== null) {
            $this->tile->init();
        }

        foreach ($this->groups as $group) {
            $group->init();
            // index the group by id if it is not already indexed
            if (!array_key_exists($group->id, $this->groups_by_id)) {
                $this->groups_by_id[$group->id] = $group;
            }
        }
    }
86649
protected function initialize()
    {
        $itemData = $this->getItemData();

        $itemsMerged = array();
        foreach ($itemData as $key => $itemOptions)
        {
            $itemsMerged[$key] = array_merge($this->defaults, $itemOptions);

            if (isset($itemsMerged[$key]['children']['.defaults']))
            {
                $itemsMerged[$key]['children']['.defaults'] = array_merge($this->defaults, $itemsMerged[$key]['children']['.defaults']);
            }
            else
            {
                $itemsMerged[$key]['children']['.defaults'] = $this->defaults;
            }
        }

        $this->baseItem = $this->createItem('', array(
            'title' => '',
            'item_class' => 'C33s\MenuBundle\Item\MenuItem',
            'children' => $itemsMerged,
        ));
    }
628991
public function init()
    {
        parent::init();

        $this->addItems($this->items());

        if (($add = $this->getAdd()) !== null) {
            $this->addMenus($add);
        }

        if (($merge = $this->getMerge()) !== null) {
            $this->mergeMenus($merge);
        }
    }
898439
public function initialize()
    {
        $this->data = new stdClass();
        $this->data->unavailable = [];
        $this->data->future = [];
        $this->data->current = [];
    }
709525
protected function init() {
        $this->data['crud'] = 'c';
        $this->data['edulevel'] = self::LEVEL_OTHER;
        $this->data['objecttable'] = competency::TABLE;
    }
727030
public function initializeObject() {
    $querySettings = $this->objectManager->get(Typo3QuerySettings::class);
    $querySettings->setIgnoreEnableFields(false);
    $querySettings->setRespectStoragePage(false);

    $this->setDefaultQuerySettings($querySettings);
  }
675870
protected function initialize()
    {
        if (is_array($this->objectIdentifiers)) {
            foreach ($this->objectIdentifiers as $identifier) {
                try {
                    parent::attach($this->persistenceManager->getObjectByIdentifier($identifier));
                } catch (Exception\InvalidObjectDataException $exception) {
                    // when security query rewriting holds back an object here, we skip it...
                }
            }
            $this->objectIdentifiers = null;
        }
    }
554933
public function init()
    {
        if ($this->getCache() === null) {
            $options = $this->getOptions();
            $this->setCache(Cache\StorageFactory::factory($options['cache']));
        }

        $this->isInit = true;
    }
1043556
protected function initialize()
    {
        if ($this->initialized) {
            return;
        }

        foreach ($this->classes as $class) {
            $this->providers[] = new $class;
        }

        foreach ($this->providers as $provider) {
            if ($provider instanceof BuilderAwareInterface) {
                $provider->setSchemaBuilder($this->schemaBuilder);
            }
        }

        $this->initialized = true;
    }
894465
public function initialize($object)
    {
        if (!is_object($object)) {
            return;
        }

        foreach ($this->knownDependencies as $interface => $dependencyInfo) {
            list($setterMethod, $serviceId) = $dependencyInfo;

            if (is_a($object, $interface)) {
                $object->$setterMethod($this->container->get($serviceId));
            }
        }
    }