src/Majora/Framework/Loader/LoaderTrait.php
public function setUp(
        $entityClass,
        array $entityProperties,
        $collectionClass,
        RepositoryInterface $entityRepository = null
    ) {
        @trigger_error(__METHOD__.'() is deprecated and will be removed in 2.0. Please use configureMetadata() instead.', E_USER_DEPRECATED);

        if ($entityRepository) {
            @trigger_error('Repository injection throught '.__METHOD__.'() is deprecated and will be removed in 2.0. Please inject it by constructor.', E_USER_DEPRECATED);

            $this->entityRepository = $entityRepository;
        }

        return $this->configureMetadata($entityClass, $entityProperties, $collectionClass);
    }
public function setUp(
        $entityClass,
        array $entityProperties,
        $collectionClass,
        RepositoryInterface $entityRepository = null
    ) {
        @trigger_error(__METHOD__.'() is deprecated and will be removed in 2.0. Please use configureMetadata() instead.', E_USER_DEPRECATED);

        if ($entityRepository) {
            @trigger_error('Repository injection throught '.__METHOD__.'() is deprecated and will be removed in 2.0. Please inject it by constructor.', E_USER_DEPRECATED);

            $this->entityRepository = $entityRepository;
        }

        return $this->configureMetadata($entityClass, $entityProperties, $collectionClass);
    }
public function setUp ( $ entityClass , array $ entityProperties , $ collectionClass , RepositoryInterface $ entityRepository = null ) { @ trigger_error ( __METHOD__ . '() is deprecated and will be removed in 2.0. Please use configureMetadata() instead.' , E_USER_DEPRECATED ) ; if ( $ entityRepository ) { @ trigger_error ( 'Repository injection throught ' . __METHOD__ . '() is deprecated and will be removed in 2.0. Please inject it by constructor.' , E_USER_DEPRECATED ) ; $ this -> entityRepository = $ entityRepository ; } return $ this -> configureMetadata ( $ entityClass , $ entityProperties , $ collectionClass ) ; }
setUp method.

@param string              $entityClass
@param array               $entityProperties
@param string              $collectionClass
@param RepositoryInterface $entityRepository
setUp method .