Documentation

Markers

Table of Contents

Controller/CarrierController.php 5
DataFixtures/DataStore/ClientData.php 10
DataFixtures/GroupFixtures.php 1
Entity/Carrier.php 1
Entity/Client.php 1
Entity/ClientContactPerson.php 1
Entity/Order.php 1
Entity/PointAddress.php 1
Entity/PointOrder.php 5
Entity/User.php 6
EventSubscriber/OrderSubscriber.php 1
Form/ClientType.php 3
Form/PointLogisticType.php 2
Form/RegistrationType.php 1
Repository/AddressPointRepository.php 3
Repository/CarrierContactPersonRepository.php 3
Repository/CarrierRepository.php 3
Repository/ClientContactPersonRepository.php 3
Repository/ClientRepository.php 3
Repository/CompanyRepository.php 3
Repository/CountryRepository.php 3
Repository/OrderRepository.php 3
Repository/PersonRepository.php 3
Repository/PointLogisticRepository.php 3
Repository/PointOrderRepository.php 3
Repository/UserRepository.php 3
Security/Voter/OrderVoter.php 8
Serializer/Normalizer/OrderNormalizer.php 1
Serializer/OrderEncoder.php 2
Services/ClientAPI/ResponseCreator.php 9
Validator/OrderValidator.php 1

CarrierController.php

Type Line Description
83 return $this->render('carrier/search/index.html.twig', [
84 'searchForm' => $form->createView(),
85 'carrier' => $search,
86 ]);
110 insert to carrier and company tables

ClientData.php

Type Line Description
10 coca cola polska
18 www.coca-cola.pl',
22 danone polska
30 danone.pl/',
34 ArcelorMittal Polska
42 poland.arcelormittal.com',
46 Northvolt Poland Sp. z o.o.
54 northvolt.pl',
58 WB ELECTRONICS S A
66 www.wbgroup.pl/',

GroupFixtures.php

Type Line Description
14 ...

Carrier.php

Type Line Description
141 set the owning side to null (unless already changed)

Client.php

Type Line Description
111 set the owning side to null (unless already changed)

ClientContactPerson.php

Type Line Description
219 set the owning side to null (unless already changed)

Order.php

Type Line Description
267 set the owning side of the relation if necessary

PointAddress.php

Type Line Description
166 set the owning side to null (unless already changed)

PointOrder.php

Type Line Description
64 set the owning side to null (unless already changed)
85 public function __toString()
86 {
87 return 'name';
88 }

User.php

Type Line Description
67 may not be needed, see section on salt below
68 $this->salt = md5(uniqid('', true));
195 see section on salt below
196 $this->salt,
207 see section on salt below
208 $this->salt

OrderSubscriber.php

Type Line Description
12 ...

ClientType.php

Type Line Description
33 ->add('bonusPoints')
55 ->add('company', CompanyType::class)
56 Todo company changes*

PointLogisticType.php

Type Line Description
47 ->add('pointOrder')
48 ->add('pointAddress')

RegistrationType.php

Type Line Description
45 max length allowed by Symfony for security reasons

AddressPointRepository.php

Type Line Description
22 /**
23 * @return AddressPoint[] Returns an array of AddressPoint objects
24 */

CarrierContactPersonRepository.php

Type Line Description
22 /**
23 * @return CarrierContactPerson[] Returns an array of CarrierContactPerson objects
24 */

CarrierRepository.php

Type Line Description
22 /**
23 * @return Carrier[] Returns an array of Carrier objects
24 */

ClientContactPersonRepository.php

Type Line Description
22 /**
23 * @return ClientContactPerson[] Returns an array of ClientContactPerson objects
24 */

ClientRepository.php

Type Line Description
22 /**
23 * @return Client[] Returns an array of Client objects
24 */

CompanyRepository.php

Type Line Description
22 /**
23 * @return Company[] Returns an array of Company objects
24 */

CountryRepository.php

Type Line Description
22 /**
23 * @return Country[] Returns an array of Country objects
24 */

OrderRepository.php

Type Line Description
22 /**
23 * @return Order[] Returns an array of Order objects
24 */

PersonRepository.php

Type Line Description
22 /**
23 * @return Person[] Returns an array of Person objects
24 */

PointLogisticRepository.php

Type Line Description
22 /**
23 * @return PointLogistic[] Returns an array of PointLogistic objects
24 */

PointOrderRepository.php

Type Line Description
22 /**
23 * @return PointOrder[] Returns an array of PointOrder objects
24 */

UserRepository.php

Type Line Description
22 /**
23 * @return User[] Returns an array of User objects
24 */

OrderVoter.php

Type Line Description
13 replace with your own logic
14 https://symfony.com/doc/current/security/voters.html
22 if the user is anonymous, do not grant access
27 ... (check conditions and return true to grant permission) ...
30 logic to determine if the user can EDIT
31 return true or false
34 logic to determine if the user can VIEW
35 return true or false

OrderNormalizer.php

Type Line Description
22 Here: add, edit, or delete some data

OrderEncoder.php

Type Line Description
14 TODO: return your encoded data
25 TODO: return your decoded data

ResponseCreator.php

Type Line Description
42 public function __construct(
43 FormErrorsTransformer $formErrorsTransformer,
44 ExceptionTransformer $exceptionTransformer
45 )
46 {
47 $this->formErrorsTransformer = $formErrorsTransformer;
48 $this->exceptionTransformer = $exceptionTransformer;
49 }
63 todo serializer

OrderValidator.php

Type Line Description
18 TODO: implement the validation here

Search results