Neos\Media\Domain\Model\Thumbnail::initializeObject PHP Method

initializeObject() public method

Initializes this thumbnail
public initializeObject ( integer $initializationCause ) : void
$initializationCause integer
return void
    public function initializeObject($initializationCause)
    {
        if ($initializationCause === ObjectManagerInterface::INITIALIZATIONCAUSE_CREATED) {
            if ($this->async === false) {
                $this->refresh();
            }
            $this->emitThumbnailCreated($this);
        }
    }