| 1 | <?php  | 
            ||
| 11 | class RowManager  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var InternalEntityFactoryInterface Factory to create entities */  | 
            ||
| 14 | private $entityFactory;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @param InternalEntityFactoryInterface $entityFactory Factory to create entities  | 
            ||
| 18 | */  | 
            ||
| 19 | 73 | public function __construct(InternalEntityFactoryInterface $entityFactory)  | 
            |
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Detect whether a row is considered empty.  | 
            ||
| 26 | * An empty row has all of its cells empty.  | 
            ||
| 27 | *  | 
            ||
| 28 | * @param Row $row  | 
            ||
| 29 | * @return bool  | 
            ||
| 30 | */  | 
            ||
| 31 | 63 | public function isEmpty(Row $row)  | 
            |
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * Fills the missing indexes of a row with empty cells.  | 
            ||
| 44 | *  | 
            ||
| 45 | * @param Row $row  | 
            ||
| 46 | * @return Row  | 
            ||
| 47 | */  | 
            ||
| 48 | 23 | public function fillMissingIndexesWithEmptyCells(Row $row)  | 
            |
| 65 | }  | 
            ||
| 66 |