public function initialize()
    {
        $contentTypes = $this->contentTypeRepository->findAllNotDeletedInLastVersion();

        foreach ($contentTypes as $contentType) {
            $this->schemaGenerator->createMapping($contentType);
        }
    }
public function initialize()
    {
        $contentTypes = $this->contentTypeRepository->findAllNotDeletedInLastVersion();

        foreach ($contentTypes as $contentType) {
            $this->schemaGenerator->createMapping($contentType);
        }
    }
public function initialize ( ) { $ contentTypes = $ this -> contentTypeRepository -> findAllNotDeletedInLastVersion ( ) ; foreach ( $ contentTypes as $ contentType ) { $ this -> schemaGenerator -> createMapping ( $ contentType ) ; } }
Initialize content type schema
Initialize content type schema